Verifying Terraform

Verification is a necessary step in the Terraform setup process.

  1. Open a new Command Prompt with administrative privileges.

  2. Navigate to the directory containing the Terraform executable by setting the path.

  3. Run the command terraform init as displayed in the image below.

  1. Run the command terraform apply.

The examples below display the command prompt with outputs for possible variables.

Output for Get Secret

Output for Create Secret

The newly created secret ID is highlighted

Output for Update Secret

Verifying Terraform When Encrypting State File Data on Local Drive

To perform a verification:

  1. Open a new command prompt with administrative privileges.

  2. Navigate to the directory containing the Terraform executable by setting the path.

  3. Set the user credentials in environment variables.

  4. Run the script wrapper terraform_init.bat for the terraform init command.

  5. Run the script wrapper terraform_apply.bat for the terraform apply command.

  6. Optionally, run the script wrapper terraform_destroy.bat for the terraform destroy command.