mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
Add version note for env var credentials 1.2 work.
This commit is contained in:
parent
54d084159f
commit
f7c5d1b054
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue