-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add master_global_access_config #601
Add master_global_access_config #601
Conversation
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.
Thanks for the PR! I think it makes sense to follow this approach #585 (comment) to just use a boolean flag for this. Bumping dependencies as necessary also sgtm.
Done - I've bumped all versions in test files + examples - some may not be strictly necessary and I can pare back to only the ones that involve a beta private cluster (and thus would need this change) if needed. |
@ilkelma I don't think we need to upgrade the test version—the beta examples are already in 3.29. Do you mind reverting that? |
This reverts commit fb34950.
looks like the integration tests succeed if I upgrade everything but fail otherwise so something needs upgrading it would seem but i'm not sure exactly where... is it possible y'all could let me know? Likely would be faster than me trying to run the tests on my end |
@ilkelma The error is on the
|
I'm not sure how this relates to my changes 🤔 i'll see if I can reproduce in local integration tests for some clues... |
Yeah I'm not sure either but we can see that it's only happening on your branch. I'm especially confused why the provider version upgrade would affect it. If you can try to troubleshoot locally, that would be helpful. |
@ilkelma @morgante its on the prepare step actually. The projects are not getting created. Seems like API activations failure. It's not related to this PR as I am seeing it in other modules as well.
|
@bharathkkb @morgante I bumped the version from 3.25 -> 3.29 in the prep step (the versions.tf file in test/setup) on a hunch but i can't see the results. It got about 20 more minutes in I think so possibly got past that point? |
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.
Overall LGTM, a few suggestion 😄
Fixes #579 and implements https://www.terraform.io/docs/providers/google/r/container_cluster.html#master_global_access_config
I ran the integration tests and got errors because the examples pin the google provider versions to
~> 3.16.0
which does not include the newmaster_global_access_config
block.I have a stashed commit I can push that bumps all those example versions to the latest
3.29.0
but I didn't know whether that should be part of this commit or there are other things that need to fall in line to bump all those versions.