Skip to content

Databricks provider not found when redeploying #1286

@jeduardo90

Description

@jeduardo90

When I try to deploy Asset Bundles, I am able to do it successfully for the first time.

However, when I try to do it for the second time without the .bundle folder locally, I get the following error messages:

Error while loading schemas for plugin components: Failed to obtain provider
schema: Could not load the schema for provider
registry.terraform.io/databricks/databricks: failed to instantiate provider
"registry.terraform.io/databricks/databricks" to obtain schema: unavailable

When I change the provider in the tfstate file in the target workspace to registry.terraform.io/providers/databricks/databricks, I am able to deploy successfully, but instead of updating the jobs I have created on the first deploy, it creates new ones with exactly the same names.

How can I deploy the same bundle multiple times without having the .bundle folder (that gets generated on deployment runtime)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issuesQuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions