hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.83k stars 9.18k forks source link

[Enhancement]: Add primary IPv6 support to network_interface resource #34038

Open miyurusankalpa opened 1 year ago

miyurusankalpa commented 1 year ago

Description

Enable primary IPv6 on network interface. This is option is required to deploy dual stacked global accelerators with ec2 instances as endpoints.

EC2 instances can be added as dual-stack endpoints. However, the instances must have a primary IPv6 elastic network interface (ENI) attached to them. For more information, see Work with network interfaces in the Amazon Elastic Compute Cloud User Guide.

https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints.html

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_network_interface" "test" {
  primary_ipv6       = true
}

References

https://aws.amazon.com/about-aws/whats-new/2023/08/amazon-vpc-primary-ipv6-address-elastic-interface/ https://docs.aws.amazon.com/cli/latest/reference/ec2/create-network-interface.html

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue