-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow GKE to resume create after interruption #2857
Allow GKE to resume create after interruption #2857
Conversation
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in Ansible. New Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
592b31a
to
661fa91
Compare
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
661fa91
to
9da87d3
Compare
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
GKE takes a while to create but if the Terraform process is interrupted during the create it will exit before capturing any of the state and subsequent applys would try to create an already created cluster. This change will gracefully terminate the create call by persisting the operation id to state if the create call hasn't succeeded yet. Running plan again will use the operation id to resume polling the operation until success or failure.
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
9da87d3
to
4367f3a
Compare
GKE takes a while to create but if the Terraform process is interrupted during
the create it will exit before capturing any of the state and subsequent applys
would try to create an already created cluster. This change will gracefully
terminate the create call by persisting the operation id to state if the create
call hasn't succeeded yet. Running plan again will use the operation id to
resume polling the operation until success or failure.
upstreaming https://github.com/terraform-providers/terraform-provider-google/pull/5197/files
Release Note Template for Downstream PRs (will be copied)