-
Notifications
You must be signed in to change notification settings - Fork 153
Databricks provider not found when redeploying #1286
Description
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)?