$ git clone https://github.com/vandocouto/terraform-aws-vpc.git
$ cd terraform-aws-vpc/
$ vim deploy.sh
#!/usr/bin/env bash if [ -z "$1" ] then echo "Usage: must pass the terraform directory" exit 1 fi # Access Key and Secret Key Report export AWS_ACCESS_KEY_ID="" export AWS_SECRET_ACCESS_KEY="" # Configure region export AWS_DEFAULT_REGION="" cd $1 terraform $2
$ chmod +x deploy.sh
$ vim terraform/default/variables.tf
Step 1 - After tuning, run the command below
./deploy.sh default plan
Step 2 - Building the Infrastructure
./deploy.sh default apply
./deploy.sh default destroy