Before all, you need set AWS credentials ENVs using:
export AWS_ACCESS_KEY_ID=xxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxx
Or configure it in windows environments.
# To init terraform
make init
# To run terraform plan
make plan
# To apply changes
make up
To destroy resources:
make down
# To init terraform
terraform -chdir=terraform init
# To run terraform plan
terraform -chdir=terraform plan
# To apply changes
terraform -chdir=terraform apply -auto-approve
To destroy resources:
terraform -chdir=terraform destroy -auto-approve