terraform-aws-vpc icon indicating copy to clipboard operation
terraform-aws-vpc copied to clipboard

Fix Invalid value 'true' for enable-dns64. Cannot set enable-dns64 to…

Open vladimirtiukhtin opened this issue 5 months ago • 0 comments

… true unless the subnet has an IPv6 CIDR block associated with it

Description

enable_ipv6 is a global var, when it is set to true the second check on enable_resource_name_dns_aaaa_record_on_launch (default true) is performed. However it does not take into account that prefixes must be set and so it fails in the scenario where let's say public subnets have ipv6 and prefixes but private subnets don't

Motivation and Context

If fixes the error above

Breaking Changes

It is not breaking

How Has This Been Tested?

I ran it in our private environment, so cannot really provide a sample

vladimirtiukhtin avatar May 30 '25 11:05 vladimirtiukhtin