Skip to content

Commit

Permalink
fix(docs): Fix typo in example of using TF_VAR_ to set TerraformVariable
Browse files Browse the repository at this point in the history
Changing TF_VAR_adminPasword to TF_VAR_adminPassword to match the text in the block above and resolve typo.
  • Loading branch information
ameerkat authored and DanielMSchmidt committed Sep 1, 2023
1 parent c2b639f commit a66ca59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/cdktf/create-and-deploy/best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ new MyResource(this, "hello", {
});
```

To pass a [Terraform variable through environment variables](/terraform/cli/config/environment-variables#tf_var_name), name the environment variable `TF_VAR_NAME`. For example, set `TF_VAR_adminPasword='<your password>'` in the execution environment.
To pass a [Terraform variable through environment variables](/terraform/cli/config/environment-variables#tf_var_name), name the environment variable `TF_VAR_NAME`. For example, set `TF_VAR_adminPassword='<your password>'` in the execution environment.

If you use Terraform Cloud with [remote execution](/terraform/cloud-docs/run/remote-operations#remote-operations), you can store your secrets in Terraform Cloud. Refer to the Terraform Cloud documentation about [workspace variables](/terraform/cloud-docs/workspaces/variables/managing-variables#workspace-specific-variables) for more details.

Expand Down

0 comments on commit a66ca59

Please sign in to comment.