Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
β Error: Error creating Firewall: googleapi: Error 400: Invalid value for field 'resource.sourceRanges[0]': ''. Must be a CIDR address range., invalid
β
β with google_compute_firewall.allow-internal-v6,
β on vpc.tf line 48, in resource "google_compute_firewall" "allow-internal-v6":
β 48: resource "google_compute_firewall" "allow-internal-v6" {
β
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.5 on
Affected Resource(s)
google_compute_subnetwork
Terraform Configuration
Debug Output
No response
Expected Behavior
ipv6_cidr_range
should be exported when subnetwork is created.Debug shows subnet created has
externalIpv6Prefix
which is the value expected for exportedipv6_cidr_range
attribute.Actual Behavior
Steps to reproduce
terraform apply
Important Factoids
No response
References
Documentation states
ipv6_cidr_ranges
are exported attributes: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork#attributes-referenceData for same resource doesn't show same exported attribute: https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/compute_subnetwork#attributes-reference