This project will create a VPC for you with Public and Private Subnets which it's Internet access has been configured for Private Subnet via NAT GW and for Public Subnet it goes through Internet GW.
For variables and configuration, you can do it by creating your terraform.tfvars
in environment/configuration/[demo/prod]//
- First of all check your AWS credentials. you can configure it with your access key and secret key and this command:
aws configure
Since it's integrated with terragrunt you have to use these commands:
- Go to any component that you want in environment/demo/Region/Module
terragrunt init
terragrunt plan
terragrunt apply
In the end we will have this for our VPC and Subnets with their route tables: