mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Add version note for env var credentials 1.2 work.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user