Created a basic infrastructure on aws using terraform
- VPC
- Subnets
- Internet Gateway
- NAT Gateway
- Security Groups
- EC2 Instances - nginx, postgres
- Loadbalancer
- Update the variables.tf with the values for your environment
- You need aws cli and pre configured with access key and secret key
- Run below commands to run terraform
- terraform init
- terraform plan
- terraform apply