Lucidchart Diagram
https://learn.hashicorp.com/terraform/getting-started/install.html
wget https://releases.hashicorp.com/terraform/0.12.25/terraform_0.12.25_darwin_amd64.zip -P /tmp
unzip /tmp/terraform_0.12.25_darwin_amd64.zip
mv /tmp/terraform /usr/local/bin/terraform
https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#from-pip
aws configure --profile dev
AWS Access Key ID [None]: XXXX AWS Secret Access Key [None]: XXXX Default region name [None]: us-east-1 Default output format [None]: yml
~/.aws/config
[profile dev] region = us-east-1 output = yaml
~/.aws/credentials
aws_access_key_id= aws_secret_access_key=
Note
-
Makefile is using plan file for applying new infrastructure so always run
make plan ENV=<YOUR-ENV>
at first and thenmake apply
. (this is a best practice for terraform to always run at firstterraform plan
and thenapply
.) -
run
make help
for get available commands
terraform workspace new dev
terraform workspace new prod
$ ssh-keygen