-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Confusing upgrade instructions regarding container_cluster.ip_allocation_policy.use_ip_aliases
#5154
Confusing upgrade instructions regarding container_cluster.ip_allocation_policy.use_ip_aliases
#5154
Comments
ip_allocation_policy.use_ip_aliases
container_cluster.ip_allocation_policy.use_ip_aliases
Hi @eyalzek! Thank you for opening this issue. I'm very sorry for the confusion. |
@megan07 just to be clear, with the latest version I would have to have an empty ip_allocation_policy block in order to create a vpc native cluster? |
@eyalzek, sorry! I meant to respond to your question too and forgot. Yes, you are correct, you would leave the block empty. Thank you! |
This breaks private clusters. Given the following:
We get:
But if we uncomment:
then we get:
and still the same |
@dylanpiergies did you try |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
As per the upgrade instructions to v3.0.0 (https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html) I see conflicting information. First it says that the field
ip_allocation_policy.use_ip_aliases
is deprecated (https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html#detailed-changes-) and indeed I see the deprecation message already in earlier versions of the provider:then later in the same documentation (and also in the example), I see that this field is still set and is required (https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html#use_ip_aliases-is-now-required-on-block-google_container_cluster-ip_allocation_policy):
Which one is true?
Moreover, since
ip_allocation_policy.create_subnetwork
is also deprecated, it means that my previous ip_allocation_policy block is now entirely deprecated:since according to the docs, creating VPC native GKE clusters is now dependent on the
ip_allocation_policy
block itself to exist, what is the way to go? should I leave an empty block in the configuration (this all depends onuse_ip_aliases
actually being deprecated....) ?The text was updated successfully, but these errors were encountered: