infra/modules/ec2/ exists but Hatch deploys containers on ECS Fargate, not EC2 instances. This module is unused and misleading for contributors reading the infra code.
Steps:
Verify infra/modules/ec2/ is not referenced in any .tf file: grep -r "ec2" infra/envs/
Delete infra/modules/ec2/
Run terraform plan in infra/envs/dev/ to confirm no breakage
infra/modules/ec2/ exists but Hatch deploys containers on ECS Fargate, not EC2 instances. This module is unused and misleading for contributors reading the infra code.
Steps:
Verify infra/modules/ec2/ is not referenced in any .tf file: grep -r "ec2" infra/envs/
Delete infra/modules/ec2/
Run terraform plan in infra/envs/dev/ to confirm no breakage