this repo uses terraform modules to create aws infra
here webapp is application name and env1 is environment name
Each environment has two directories [Execute terraform apply in same order ]
-
Global = Global services i.e. DNS, IAM_user should be created here.
-
Region = Regional services i.e VPC, ELB, EC2, RDS should be created here.
2.1 Network = Regional VPC should be created here
2.2 Service = Regional service components i.e. ASG, ELB, RDS should be created here