Commands

  • Initialize terraform:
    • go to desired folder and run terraform init
  • Planning terraform:
    • To plan changes run terraform plan
    • Instructing terraform to create a plan causes terraform to validate the current infrastructure definition against the known state of the infrastructure in the cloud.
    • Once evaluated, the output of that plan is printed to the screen.
    • No infrastructure changes are made when executing a plan.
  • Apply terraform:
    • To make changes run terraform apply

Promotions: dev-us → psr-us → stg-us → prd-XXX