I use pulumi python databricks provider extensivel...
# general
s
I use pulumi python databricks provider extensively via https://www.pulumi.com/registry/packages/databricks/#authenticating-with-hostname-and-token and specifically via environment variables
DATABRICKS_HOST
and
DATABRICKS_TOKEN
. I've confirmed both those values are set correctly in pulumi main script but I continue to get the following with
pulumi up
. What am I missing?
Copy code
Diagnostics:
  databricks:index:Job (UNITYCATALOG_comments_ingest):
    error:   sdk-v2/provider2.go:520: sdk.helper_schema: cannot update job: failed during request visitor: default auth: cannot configure default credentials, please check <https://docs.databricks.com/en/dev-tools/auth.html#databricks-client-unified-authentication> to configure credentials for your preferred authentication method. Config: token=***. Env: DATABRICKS_TOKEN: provider=databricks@1.51.1
    error: 1 error occurred:
        * cannot update job: failed during request visitor: default auth: cannot configure default credentials, please check <https://docs.databricks.com/en/dev-tools/auth.html#databricks-client-unified-authentication> to configure credentials for your preferred authentication method. Config: token=***. Env: DATABRICKS_TOKEN
This has been working for quite awhile until recently without any real changes. The one thing I did configure was an upgrade in the python deps in the venv that pulumi uses from
pulumi_databricks==1.51.1
to
pulumi_databricks==1.61.0
in order to use new resource functionality. But I've since downgraded back to 1.51.1 after seeing this error. Could it be something to do with the pulumi databricks plugin version (not the python package)? The pulumi provider seems to automatically be preferring plugin databricks-1.61.0