Skip to content

Support private_dns_name_options  #348

@israel-anaya

Description

@israel-anaya

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.
image

Potential Terraform Configuration

module "ec2_instance" {
source = "terraform-aws-modules/ec2-instance/aws"
...
private_dns_name_options {
hostname_type = "resource-name" | "ip-name"
}
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions