-
Notifications
You must be signed in to change notification settings - Fork 499
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
Gke terraform upgrade to 0.12 and fix bastion instance zone to be region agnostic #554
Gke terraform upgrade to 0.12 and fix bastion instance zone to be region agnostic #554
Conversation
@yikeke @DanielZhangQD PTAL |
Good job! And please remove the note accordingly under the "Destroy" section in the deploy/gcp/README.md file, thanks! |
cd74920
to
954ad0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What problem does this PR solve?
This PR fixes #522 as well as upgrading the GCP terraform script to 0.12 compatibility. It will break backwards compatibility, but terraform will not run until upgraded
What is changed and how it works?
gcloud compute regions describe name-of-region
to see what zones are available in the region, and grabs the first one in the resultterraform destroy
it would frequently abort because GCP does not allow deleting simultaneous node pools. The user would then have to re-run the command. This no longer happens, the downside is thatterraform apply
will run a little slower as the node pools are now created and destroyed sequentially.Check List
Tests
terraform apply
terraform destroy
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: