Inputs
Configuration parameters for the ec2-instance module (v0.1.0).
Required
instance_name
Required
Name tag for the EC2 instance. Appears in the AWS Console for identification.
ami_id
Required
AMI ID for the instance. AMI IDs are region-specific. Use data sources instead of hardcoded AMI IDs.
subnet_id
Required
Subnet ID for the instance. Use private subnets for backend services, public subnets for internet-facing instances.
Optional
EC2 instance type. Common types: t3.micro (dev), t3.small (small apps), t3.medium (general purpose), m5.large (production).