-
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 master authorized networks config to be removed #2312
allow master authorized networks config to be removed #2312
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. |
Thanks @megan07 |
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.
Just a couple formatting nitpicks, lgtm 👍
|
||
return fmt.Sprintf(` | ||
resource "google_container_cluster" "with_master_authorized_networks" { | ||
name = "%s" |
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.
nit: spacing
@@ -1968,6 +1977,16 @@ resource "google_container_cluster" "with_master_authorized_networks" { | |||
}`, clusterName, cidrBlocks) | |||
} | |||
|
|||
func testAccContainerCluster_removeMasterAuthorizedNetworksConfig(clusterName string) string { | |||
|
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.
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 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. |
b6be7a9
to
72fe4a5
Compare
Fixes hashicorp/terraform-provider-google#3098
Fix error when
master_authorized_networks_config
is removed from thegoogle_container_cluster
configuration.Release Note for Downstream PRs (will be copied)