3.2 Terraform validate & plan
Goal: Validate and plan the Terraform code
Steps
Switch to the Configuration tab
Click + ADD CONFIG, set Environment to
sandbox
, aws_region to"us-east-1"
and click ADDAt the screen bottom is the Terraform Console, select VALIDATE and press run
Terraforge now runs CLI command
terraform validate
on your stack
Press the + on the right side of the Terraform Console to view the console output
Select PLAN, the configuration tutorial and press run
You will be prompted to enter AWS_SECRET_ACCESS_KEY, enter the Secret access key from the
tutorial
user created via AWS ConsoleTerraforge now runs the CLI command
terraform init
andterraform plan
on your stack in your AWS account
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