-
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
Handle GKE 1.12 node_config.metadata default value #1507
Handle GKE 1.12 node_config.metadata default value #1507
Conversation
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-google-conversion. 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. |
@@ -61,6 +61,10 @@ resource "google_container_node_pool" "primary_preemptible_nodes" { | |||
preemptible = true | |||
machine_type = "n1-standard-1" | |||
|
|||
metadata { | |||
disable-legacy-endpoints = "true" |
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.
I assume this means the api is expecting a boolean jammed in a string? In which case :(
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.
This is JSON so there are no rules :)
…xamples, add warning to docs
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
9794478
to
7d0842a
Compare
GKE
1.12
added a default metadata value causing diffs in user configs. This is a security improvement, and only affects new cluster creation so this is a change we want to pick up. Terraform doesn't let us define default values forTypeMap
s, so this needs to beComputed
.Fixes hashicorp/terraform-provider-google#3230 and also some integration tests that have been failing.
[all]
[terraform]
[terraform-beta]
[ansible]
[inspec]