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

[BUG] Error: Provider produced inconsistent result after apply #107

Closed
sgykfjsm opened this issue Feb 28, 2024 · 0 comments · Fixed by #108
Closed

[BUG] Error: Provider produced inconsistent result after apply #107

sgykfjsm opened this issue Feb 28, 2024 · 0 comments · Fixed by #108

Comments

@sgykfjsm
Copy link
Contributor

Terraform CLI and Terraform TiDB Cloud Provider Version

$ terraform version
Terraform v1.7.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.67.0
+ provider registry.terraform.io/tidbcloud/tidbcloud v0.2.3

Describe the bug

When ran terraform apply to scale the cluster, the change applied successfully, but I got the following error at the last.

╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to tidbcloud_cluster.example_cluster, provider "provider[\"registry.terraform.io/tidbcloud/tidbcloud\"]" produced an unexpected new
│ value: .status.cluster_status: was cty.StringVal("AVAILABLE"), but now cty.StringVal("MODIFYING").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

Steps to Reproduce

  1. terraform init
  2. terraform apply to create a cluster
  3. Update tf file such as changing node_quantity.
  4. terraform apply to scale a cluster
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

Successfully merging a pull request may close this issue.

1 participant