-
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
[TF] GKE Cluster - fix import on some convenience fields #1434
[TF] GKE Cluster - fix import on some convenience fields #1434
Conversation
5ab773d
to
03a2f5d
Compare
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in Ansible. 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. |
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.
Are we able to test the default node pool deletion behaviour? I'd like to, since it's complex behaviour, but I'm not sure if the test gauntlet makes it possible.
@@ -2108,29 +2107,55 @@ func flattenPodSecurityPolicyConfig(c *containerBeta.PodSecurityPolicyConfig) [] | |||
<% end -%> | |||
|
|||
func resourceContainerClusterStateImporter(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) { |
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.
Ah rip this will conflict with https://github.com/GoogleCloudPlatform/magic-modules/pull/1427/files#diff-29c7fa35b303cd012accf212d201bd5dR2200
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.
rip indeed, very sorry
third_party/terraform/website/docs/r/container_cluster.html.markdown
Outdated
Show resolved
Hide resolved
@rileykarson I believe we already are testing the default node behavior (TestAccContainerCluster_withDefaultNodePoolRemoved for true, other tests for false). Without the new behavior, deleting the Import ignores in the tests would make them fail otherwise. Were you looking for something to test in particular? |
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 didn't open any new pull requests because of this PR. |
Co-Authored-By: emilymye <emilyye@google.com>
fcbda1f
to
d1334c4
Compare
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 didn't open any new pull requests because of this PR. |
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 didn't open any new pull requests because of this PR. |
=== RUN TestAccContainerCluster_withDefaultNodePoolRemoved |
Tracked submodules are build/terraform-beta build/terraform build/ansible build/inspec.
Fixes hashicorp/terraform-provider-google#3064
[all]
[terraform]
container cluster - fix import on some convenience fields
[terraform-beta]
container cluster - fix import on some convenience fields
[ansible]
[inspec]