Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementation of the suggestions from hashicorp/terraform#21652
When GKE clusters are being created if the Terraform process gets killed it will not persist anything to state, but if the cluster succeeds in the mean time subsequent
apply
calls will attempt to create an identical cluster which will result in a collision error. This will allow the provider to catch the stop call when Terraform is killed in order to persist the operation id. If there is an operation id we will assume there was a prematurely killed operation in progress and resume polling for success/failure.