Terraform Code for creating a 2 tier webapp will all necessary netowrking components in AWS.
This will be part of a code pipeline where resources will be launched in AWS environment with Github + Codedeploy + Terraform.
To pass your credentials please use the below commands
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx export AWS_DEFAULT_REGION=xx-yyyy-0