diff --git a/website/docs/cli/cloud/settings.mdx b/website/docs/cli/cloud/settings.mdx index e33b8f1a2a..fdf1d0530f 100644 --- a/website/docs/cli/cloud/settings.mdx +++ b/website/docs/cli/cloud/settings.mdx @@ -85,6 +85,7 @@ The `cloud` block supports the following configuration arguments: [CLI config file](/cli/config/config-file#credentials). ### Environment Variables + -> **Note:** CLI integration environment variables are supported in Terraform v1.2.0 and later. You can use environment variables to configure one or more `cloud` block attributes. This is helpful when you want to configure Terraform as part of a Continuous Integration (CI) pipeline. Terraform only reads these variables if the corresponding attribute is omitted from your configuration file. If you choose to configure the `cloud` block entirely through environment variables, you must still add an empty `cloud` block in your configuration file. diff --git a/website/docs/cli/config/config-file.mdx b/website/docs/cli/config/config-file.mdx index a10fca1040..73ef06803f 100644 --- a/website/docs/cli/config/config-file.mdx +++ b/website/docs/cli/config/config-file.mdx @@ -117,6 +117,8 @@ Terraform Cloud responds to API calls at both its current hostname ### Environment Variable Credentials +-> **Note:** Environment variable credentials are supported in Terraform v1.2.0 and later. + If you would prefer not to store your API tokens directly in the CLI configuration, you may use a host-specific environment variable. Environment variable names should have the prefix `TF_TOKEN_` added to the domain name, with periods encoded as underscores. For example, the