terraform-aws-ec2-instance icon indicating copy to clipboard operation
terraform-aws-ec2-instance copied to clipboard

Output IPV6 Addresses

Open rmayore opened this issue 7 months ago • 1 comments

Describe the Feature

When the subnet has been configured to create IPv6 Addresses for each network interface created within it (input_public_assign_ipv6_address_on_creation), this EC2 instance will have an IPV6 Address attached after creation.

This feature will enable the IPV6 address to be returned in the outputs, just like the IPv4 addresses.

Expected Behavior

Instance IPV6 Address in module outputs.

Use Case

This is majorly for the scenario where I may want an instance created with a public IPv6 address but not with an Elastic IP (due to the new pricing changes and I've hit my EIP quota). Then I can map the dns to the address with an AAAA record.

Describe Ideal Solution

Update the module outputs to return the IPV6 address of the instance network interface

Alternatives Considered

No response

Additional Context

No response

rmayore avatar Jul 06 '24 21:07 rmayore