You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While troubleshooting hashicorp/terraform-provider-google#8261 I came upon a bug in terraform core. In that issue, a provider generates an invalid name for a resource. The google api rejects the creation.
If I apply again, terraform shows the failed resource as tainted, and exits with an invalid plan error.
Terraform could continue. It wants to delete a resource that doesn't exist.
Actual Behavior
Terraform fails with:
Error: Invalid planned change
The plan contains a replace change for google_container_node_pool.nodes, which
doesn't exist yet. This is a bug in Terraform.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Feb 21, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugconfirmeda Terraform Core team member has reproduced this issue
While troubleshooting hashicorp/terraform-provider-google#8261 I came upon a bug in terraform core. In that issue, a provider generates an invalid name for a resource. The google api rejects the creation.
If I apply again, terraform shows the failed resource as tainted, and exits with an invalid plan error.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/rvandegrift/b9bc65e5d35c97b80890125e0ca27096
Expected Behavior
Terraform could continue. It wants to delete a resource that doesn't exist.
Actual Behavior
Terraform fails with:
Steps to Reproduce
Additional Context
References
The text was updated successfully, but these errors were encountered: