aws_instance: output IPv6-based public hostnames #42758
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Uh oh!
There was an error while loading. Please reload this page.
Description
AWS now supports multiple public DNS names:
ec2-12-34-56-78.eu-west-1.compute.amazonaws.com
)02fap-l4n1a-zs5jy-hqbx4-5dbep.eu-west-1.ip.aws
)02fap-l4n1a-zs5jy-hqbx4-5dbep-03d770u.eu-west-1.ip.aws
)The
aws_instance
resource currently outputs only the first one, as thepublic_dns
attribute.It should also output the other ones.
These values are not returned by the
DescribeInstances
AWS API call,but they can be derived from the IP addresses, as documented here.
Affected Resource(s) or Data Source(s)
aws_instance
Would you like to implement the enhancement?
Yes
The text was updated successfully, but these errors were encountered: