Open arianvp opened 5 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Related/partial duplicate? https://github.com/hashicorp/terraform-provider-aws/issues/34038
Hello, will be the enable_primary_ipv6
setting available also for aws_instance
aws_network_interface
? Thank you š
Yes https://github.com/hashicorp/terraform-provider-aws/pull/36425 adds support for all those. I'm just waiting for someone to review it
Description
In order to use IPV6 target groups (#35010 #36423 ) you need to set up your instance with a "Primary IPv6 address". For this you need to set the
PrimaryIpv6
boolean on your network interface but the terraform provider doesn't expose this optionAffected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
For the
aws_vpc_network_interface
resource we need to use theEnablePrimaryIpv6
field inCreateNetworkInterface
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.htmlFor the
aws_launch_template
resource we need to set thePrimaryIpv6
field https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.htmlThis functionality was announced here: https://aws.amazon.com/about-aws/whats-new/2023/08/amazon-vpc-primary-ipv6-address-elastic-interface/
Would you like to implement a fix?
No