cloudposse / cloudposse/terraform-aws-ec2-instance
Output IPV6 Addresses
- Dominant language
- HCL
- Stars
- 169
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
### 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](https://github.com/cloudposse/terraform-aws-dynamic-subnets?tab=readme-ov-file#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_
Contributor guide
Assessment
This issue has not been assessed yet.