> For the complete documentation index, see [llms.txt](https://docs.terraforge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.terraforge.io/tutorials/aws-stack/3-terraform-aws-stack-ecr/3.2-terraform-validate-and-plan.md).

# 3.2 Terraform validate & plan

{% embed url="<https://beta-terraforge-public-assets.s3.amazonaws.com/aws-stack-3.2-terraform-validate-plan.mp4>" %}

## 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

{% hint style="danger" %}
Terraforge does **NOT** store any AWS credentials or values prompted after PLAN or APPLY!&#x20;
{% endhint %}
