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
Support google_compute_subnetwork update to IPV6 #12860
Support google_compute_subnetwork update to IPV6 #12860
Comments
When defining a VM that has a network interface in the subnet and updating the VM to go from IPV4 to dual stack then nothing happens and the network interface is still in IPV4. Updating the network interface in the google cloud console works though. Network interface definition in terraform for a VM: network_interface {
...
stack_type = "IPV4_IPV6"
} |
b/261047629 |
b/261863885 |
@trodge I think you might have to assign yourself on the GH issue - I can't seem to do it. |
) fixes hashicorp/terraform-provider-google#12860 Signed-off-by: Modular Magician <magic-modules@google.com>
) fixes hashicorp#12860 Signed-off-by: Modular Magician <magic-modules@google.com>
fixes hashicorp/terraform-provider-google#12860 Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
fixes hashicorp/terraform-provider-google#12860 Signed-off-by: Modular Magician <magic-modules@google.com>
fixes hashicorp/terraform-provider-google#12860 Signed-off-by: Modular Magician <magic-modules@google.com> Signed-off-by: Modular Magician <magic-modules@google.com>
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. |
Community Note
Description
It should be possible to update a subnetwork from IPV4 to dual stack IPV4_IPV6 without recreating the subnetwork.
In concrete, first create an IPV4 subnet:
Then update it to dual stack:
New or Affected Resource(s)
Potential Terraform Configuration
The existing terraform configuration does not need to be changed.
References
Google documentation is confusing and seems to contradict itself by saying:
The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.
But it says that the update is possible. Updates are also possible through google cloud console.
Also, updates using gcloud commandline work
gcloud compute networks subnets update testsubnet --stack-type=IPV4_IPV6 --ipv6-access-type=EXTERNAL
Debug output from terraform 1.3.2 shows the output of the current version of terraform.
The text was updated successfully, but these errors were encountered: