3.2 Terraform validate & plan

Goal: Validate and plan the Terraform code

Steps

  1. Switch to the Configuration tab

  2. Click + ADD CONFIG, set Environment to sandbox , aws_region to "us-east-1"and click ADD

  3. At the screen bottom is the Terraform Console, select VALIDATE and press run

    1. Terraforge now runs CLI command terraform validate on your stack

  4. Press the + on the right side of the Terraform Console to view the console output

  5. Select PLAN, the configuration tutorial and press run

    1. You will be prompted to enter AWS_SECRET_ACCESS_KEY, enter the Secret access key from the tutorial user created via AWS Console

    2. Terraforge now runs the CLI command terraform init and terraform plan on your stack in your AWS account

  6. Press the + on the right side of the Terraform Console and click the Fullscreen button in black area to view the console output

Terraforge does NOT store any AWS credentials or values prompted after PLAN or APPLY!

Last updated