instance_name

Required
Type string

Name tag for the EC2 instance. Appears in the AWS Console for identification.

Naming Conventions

The instance name appears in the AWS Console and is useful for identification.

Best Practices

  • Include environment and role in the name
  • Follow a consistent naming pattern
  • Keep names descriptive but concise

Full Module Example

module "ec2_instance" {
  source  = "registry.patterneddesigns.ca/patterneddesigns/ec2-instance/aws"
  version = "0.1.0"

  # instance_name
  instance_name = "..."

  # Other required inputs
  ami_id = "..."
  subnet_id = "..."
}