-
Notifications
You must be signed in to change notification settings - Fork 379
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
Provider produces inconsistent final plan when value in set refers to unknown value that actually doesn't change after apply #817
Provider produces inconsistent final plan when value in set refers to unknown value that actually doesn't change after apply #817
Comments
I also run into that issue. My workaround was to taint changed helm_releses and recreate it. |
But after successfull apply, changes comes again and also errors. So in the end, not really a work around. I hope that your pull request will released quick, because it is a blocker for me. |
We also have this issue. Basically, a taint fixes it temporarily but we basically have to taint it every other time we apply a change to this cluster. |
We had this issue. Added |
Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you! |
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Steps to Reproduce
terraform apply
terraform taint random_string.unknown_value
terraform apply
Expected Behavior
The third apply should work out without any issues.
Actual Behavior
The third apply fails with the error
Important details
This is not an abstract case. We faced it when passing fqdn of postgres server to helm which is not changed after server gets recreated.
Available workarounds:
RCA
For the third apply
terraform-provider-helm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/schema.go
Line 1406 in ac4d18c
So that planned change for 'value1' is:
terraform-provider-helm/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/grpc_provider.go
Line 725 in 72939a9
So that actual change for 'value1' is:
These changes are considered as incompatible by terraform
https://github.com/hashicorp/terraform/blob/792aa4562987e1cdbbf137a6c7d1dd1c652b8265/terraform/eval_diff.go#L87
Important Factoids
N/A
References
N/A
Community Note
The text was updated successfully, but these errors were encountered: