-
Notifications
You must be signed in to change notification settings - Fork 500
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 #585
GKE terraform #585
Conversation
gregwebs
commented
Jun 15, 2019
- use gcloud CLI to automate service account provisioning
- provide option to use small instances or prod instances
- local-exec scripts: add set -e and make idempotent
- use data.google_compute_zones.available.names to prevent bastion re-creation
* use gcloud CLI for service account provisioning * provide option to use small instances or prod instances * local-exec scripts: add set -e and make idempotent
} | ||
|
||
provisioner "local-exec" { | ||
interpreter = ["bash", "-c"] | ||
command = <<EOS |
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.
Use EOT
instead of EOS
to make Terraform 0.12 format this correctly.
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.
any word will work here.
Co-Authored-By: Tennix <tennix@users.noreply.github.com>
add DEBIAN_FRONTEND=noninteractive this is still needed even when using -y add dpkg configure -a which can be needed
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
The local volume provisioner startup can take some time
Also added:
|
Signed-off-by: Ran <huangran@pingcap.com>