-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed as not planned
Description
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) or Resource name (i-0f0ccc1aa12371b73.eu-west-3.compute.internal). It should be possible to set this option in terraform.
Potential Terraform Configuration
module "ec2_instance" {
source = "terraform-aws-modules/ec2-instance/aws"
...
private_dns_name_options {
hostname_type = "resource-name" | "ip-name"
}
...
}
listellm and dmitry-mightydevops
Metadata
Metadata
Assignees
Labels
No labels