mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Merge branch 'main' into update-TF-WORKSPACE-variable
This commit is contained in:
@@ -88,11 +88,10 @@ You can use environment variables to configure one or more `cloud` block attribu
|
||||
|
||||
Use the following environment variables to configure the `cloud` block:
|
||||
|
||||
- `TF_CLOUD_ORGANIZATION` - The name of the organization. Serves as a fallback for `organization`
|
||||
in the cloud configuration. If both are specified, the configuration takes precedence.
|
||||
|
||||
- `TF_ORGANIZATION` - The name of the organization. Serves as a fallback for `organization`
|
||||
in the cloud configuration. If both are specified, the configuration takes precedence.
|
||||
|
||||
- `TF_HOSTNAME` - The hostname of a Terraform Enterprise installation. Serves as a fallback if `hostname` is not specified in the cloud configuration. If both are specified, the configuration takes precendence.
|
||||
- `TF_CLOUD_HOSTNAME` - The hostname of a Terraform Enterprise installation. Serves as a fallback if `hostname` is not specified in the cloud configuration. If both are specified, the configuration takes precendence.
|
||||
|
||||
- `TF_WORKSPACE` - The name of a single Terraform Cloud workspace. If the `workspaces` attribute is not included in your configuration file, the `cloud` block interprets `TF_WORKSPACE` as the `name` value of the `workspaces` attribute. The workspace must exist in the organization specified in the configuration or `TF_ORGANIZATION`. You can set this variable if the `cloud` block in your configuration uses tags. However, Terraform Cloud will return an error if the value of `TF_WORKSPACE` is not included in the set of tags. Refer to [TF_WORKSPACE](https://www.terraform.io/cli/config/environment-variables#tf_workspace) for more details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user