mkdir /Applications/terraform.app
cp terraform /Applications/terraform.app/terraform
in ~/.bash_profile:
export PATH="$PATH:/Applications/terraform.app"
alias tf='Applications/terraform.app/terraform"
mkdir ~/.aws
touch ~/.aws/credentials
open ~/.aws/credentials
With the terraform-flux user from last pass Then in this repo:
export AWS_PROFILE=terraform-flux
tf init
tf workspace select fluxland
tf plan -out=flux.plan
tf apply flux.plan
Example repository to deploy an ECS cluster hosting a web application.