Terraform

Current version v1.0 now as of 2021.06.22.

You need to setup AWS CLI first.

Read The Core Terraform Workflow

Download and Install: https://www.terraform.io/downloads.html

terraform validate
terraform fmt

# see changes required. Need to run when modules/backend configuration changed
terraform plan

terraform apply

terraform destroy

terraform show
  • locakfile — .terraform.lock.hcl to record the provider
    selections, should include in version control so terraform make same selections when terraform init runs again

Generate API token at Tokens.

Token stores at ~/.terraform.d/credentials.tfrc.json.