aws_ec2_instance: Add option to set "Hostname Type" #25139
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Description
When creating a new EC2 instance via the web console you have the option to choose the hostname type for the new instance - options are either
IP name
by default (ip-172-26-0-1.eu-west-3.compute.internal) orResource name
(i-0f0ccc1aa12371b73.eu-west-3.compute.internal). It should be possible to set this option in terraform.API-wise it uses the
PrivateDnsNameOptions
struct:New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: