Terraforge
  • Welcome to Terraforge!
  • Features
  • How it works
  • HashiCorp Meetup Slides
  • Demos & Tutorials
    • First Steps
      • 1 - Tutorial Environment
      • 2 - Terraform Stack (local_file)
        • 2.1 - Source Code Editor
        • 2.2 - Terraform validate & plan
        • 2.3 - README
      • 3 - Pipeline Apply
    • AWS Stack (simple)
      • 1 - Terraform user
      • 2 - Sandbox Environment
      • 3 - Terraform Stack (ECR registry)
        • 3.1 - Terraform Code
        • 3.2 Terraform validate & plan
      • 4 - Pipeline Apply
      • 5 - Pipeline Destroy
Powered by GitBook
On this page

Was this helpful?

  1. Demos & Tutorials
  2. AWS Stack (simple)
  3. 3 - Terraform Stack (ECR registry)

3.2 Terraform validate & plan

Goal: Validate and plan the Terraform code

Previous3.1 - Terraform CodeNext4 - Pipeline Apply

Last updated 5 years ago

Was this helpful?

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!