Required

instance_name Required
string

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

ami_id Required
string

AMI ID for the instance. AMI IDs are region-specific. Use data sources instead of hardcoded AMI IDs.

subnet_id Required
string

Subnet ID for the instance. Use private subnets for backend services, public subnets for internet-facing instances.

Optional

string Default: t3.micro

EC2 instance type. Common types: t3.micro (dev), t3.small (small apps), t3.medium (general purpose), m5.large (production).