Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Issue with dashboard resource (Provider produced inconsistent final plan) #4079

Open
davidvega-db opened this issue Oct 8, 2024 · 0 comments

Comments

@davidvega-db
Copy link

Configuration

Doc provided in the steps

Expected Behavior

Applies must be consistent

Actual Behavior

The issue occurs when you run another terraform apply after the first apply. You get the error:
14:30:58 2024-10-02T19:30:58.340Z [DEBUG] [aws-sdk-go] {}
14:30:58
14:30:58 Error: Provider produced inconsistent final plan
14:30:58
14:30:58 When expanding the plan for
14:30:58 databricks_dashboard.your_dashboard to include new values
14:30:58 learned so far during apply, provider
14:30:58 "registry.terraform.io/databricks/databricks" produced an invalid new value
14:30:58 for .serialized_dashboard: was null, but now
14:30:58 cty.StringVal

Steps to Reproduce

Create a Databricks dashboard using the “serialized_dashboard” attribute via terraform using the instructions in the following link:
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/dashboard
switch over to using the “file_path” attribute.
To do that, run a terraform destroy (since the docs above say you have to destroy if you switch between those attributes).
After the terraform destroy, run a terraform apply to recreate the infrastructure.
That works fine.
The issue occurs when you run another terraform apply after the first apply. You get the error.

Terraform and provider versions

1.52.0

Is it a regression?

Unknown

Debug Output

14:30:58 2024-10-02T19:30:58.340Z [DEBUG] [aws-sdk-go] {}
14:30:58
14:30:58 Error: Provider produced inconsistent final plan
14:30:58
14:30:58 When expanding the plan for
14:30:58 databricks_dashboard.your_dashboard to include new values
14:30:58 learned so far during apply, provider
14:30:58 "registry.terraform.io/databricks/databricks" produced an invalid new value
14:30:58 for .serialized_dashboard: was null, but now
14:30:58 cty.StringVal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant