Skip to content

[ISSUE] Issue with databricks_app resource while deploying with databricks terraform provider version 1.95.0 #5204

@chajong322-create

Description

@chajong322-create

Configuration

# Copy-paste your Terraform configuration here

Was trying to deploy databricks apps with databricks terraform provider version 1.95.0

Expected Behavior

It should deploy databricks apps without any issue.

Actual Behavior

It failed with error.

│ Error: Provider produced inconsistent result after apply

│ When applying changes to databricks_app.test_app, provider
│ "provider["registry.terraform.io/databricks/databricks"].databricks_metastore"
│ produced an unexpected new value: .resources: was
│ cty.ListValEmpty(cty.Object(map[string]cty.Type{"description":cty.String,
│ "job":cty.Object(map[string]cty.Type{"id":cty.String,
│ "permission":cty.String}), "name":cty.String,
│ "secret":cty.Object(map[string]cty.Type{"key":cty.String,
│ "permission":cty.String, "scope":cty.String}),
│ "serving_endpoint":cty.Object(map[string]cty.Type{"name":cty.String,
│ "permission":cty.String}),
│ "sql_warehouse":cty.Object(map[string]cty.Type{"id":cty.String,
│ "permission":cty.String}),
│ "uc_securable":cty.Object(map[string]cty.Type{"permission":cty.String,
│ "securable_full_name":cty.String, "securable_type":cty.String})})), but now
│ null.

│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

Steps to Reproduce

Was deploying databricks apps with normal configuration of sql-warehouse, serving-endpoint and job

Terraform and provider versions

Terraform : 1.12.2
Databricks Terraform Provider : 1.95.0

Is it a regression?

It was working in databricks terraform provider version 1.82.0

Debug Output

Important Factoids

Would you like to implement a fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions