terraform-google-network icon indicating copy to clipboard operation
terraform-google-network copied to clipboard

Support for configuring IPv6 networks

Open jawnsy opened this issue 3 years ago • 3 comments

TL;DR

This module currently configures IPv4 networks, and cannot be used to manage dual-stack networks

Terraform Resources

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork

Detailed design

No response

Additional information

It looks like we just need to add a few fields:

  • private_ipv6_google_access
  • stack_type
  • ipv6_access_type

We would also want to make sure that we export the following outputs:

  • ipv6_cidr_range
  • external_ipv6_prefix

The changes seem contained to the subnets module: https://github.com/terraform-google-modules/terraform-google-network/blob/a7b91bc1a70c323b99eecc229a70b449b6bda401/modules/subnets/main.tf#L28-L33

jawnsy avatar Nov 24 '21 20:11 jawnsy

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jan 23 '22 23:01 github-actions[bot]

This is still an issue, not stale :)

jawnsy avatar Jan 24 '22 03:01 jawnsy

Happy to review a PR adding this

bharathkkb avatar Jan 24 '22 19:01 bharathkkb

it looks like ipv6_cidr_range attribute is already in the documentation but it is always empty for me when I try to use it

jlkiri avatar Jan 07 '23 15:01 jlkiri

@bharathkkb would you be able to review https://github.com/terraform-google-modules/terraform-google-network/pull/420? thank you!

Lynty avatar Jan 24 '23 21:01 Lynty

fixed in #420

imrannayer avatar Apr 18 '23 04:04 imrannayer

Thanks for doing this @Lynty and thanks for reviewing/merging @apeabody!

jawnsy avatar Apr 18 '23 18:04 jawnsy