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
State inconsistent when Helm_Release Apply Fails #338
Comments
Yes i have the same wit terraform 0.11.14 and helm provider 0.10.2 |
How do you fix this issue? Does |
+1 |
I have the same issue with terraform v0.12.9 |
@rporres - I have had success removing the helm resource from terraform state and the doing |
Closing this issue since is making reference to a version based on Helm 2, if this is still valid to the master branch please reopen it. Thanks. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Applied a large helm chart and it failed part way through when the chart was trying to observe an ingress that was incorrectly configured. This apply failure resulted in no resources being written to state, but many resources were deployed in the cluster. This created a situation where we're unable to reapply due to existing resources; unable to delete due to it not existing in state; and we don't know the full list of resources created to manually clean up.
End of apply log, the end of the quoted section is everything that was logged about the failure.
Terraform v0.12.8
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Resource: Helm_release
Terraform Version
Expected Behavior
During a failure to completely apply
helm_release
, some method of viewing all created and applied resources should be available. Preferably in StateActual Behavior
State block still has an empty block for the helm_release after failure, resulting in partial deployment.
Steps to Reproduce
Deploy a helm chart that has a condition that can't be met (observe endpoint that doesnt' exist for success/etc
Appears to be a duplicate of #279, but that hasn't had a response since May.
The text was updated successfully, but these errors were encountered: