Complete terraform toolkit with generation and validation capabilities
93
Quality
93%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
A startup is launching a new recommendation-engine microservice on AWS. The engineering lead has asked you to create the initial Terraform configuration that will provision the following resources in us-east-1:
t3.micro) running the service10.0.0.0/8 onlyThe team is small but growing. The region, environment name, and project name should all be configurable. The security group's allowed CIDR ranges need to come from a list so they can be expanded without changing the module structure. There is no existing infrastructure — this is a green-field project.
The engineering lead wants the configuration to be immediately usable by another engineer who clones the repository, and wants to understand what files to look at and what commands to run.
Generate all the Terraform configuration files needed for this infrastructure. After generating the files, provide usage instructions explaining the generated files and the commands needed to deploy them.
The configuration should be production-quality: well-organized, documented, and safe to share in a team repository.