Topics


Pages


Content

Basics

Follow these three commands in order as a started for using Terraform.

  1. Install dependencies.
     $ terraform init
    
  2. Preview changes.
     $ terraform plan
    
  3. Deploy changes.
     $ terraform apply .
    

Development

Format the Terraform code.

$ terraform fmt

Validate the Terraform code.

$ terraform validate

Alias

Recommended for your shell config:

alias tf=terraform