duduribeiro / terraform_ecs_fargate_example

Example used on my post about ECS Fargate
https://medium.com/code-pub/easy-deploy-your-docker-applications-to-aws-using-ecs-and-fargate-a988a1cc842f
Other
340 stars 211 forks source link

multi environment structure #14

Open PandaonMars opened 4 years ago

PandaonMars commented 4 years ago

Thanks for your sharing! I would like to know how are you going to set up structure of multi environment. Is it going to be like following structure?

├── modules │ └── code_pipeline │ └── ecs │ └── networking │ └── rds ├── pipeline.tf ├── production.tf ├── production_key.pub ├── dev.tf ├── dev_key.pub ├── test.tf ├── test_key.pub ├── terraform.tfvars └── variables.tf

avoidik commented 4 years ago

I'd suggest to create new folder "stages", and several folders inside it to reflect your staging structure