mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-29 10:01:07 -05:00
Update website/docs/cli/cloud/settings.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
@@ -94,7 +94,7 @@ Use the following environment variables to configure the `cloud` block:
|
||||
|
||||
- `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_WORKSPACE` - The workspace to select from. The `cloud` block interprets this variable as the `name` value of the `workspaces` attribute if the `workspaces` attrribute is not included in your configuration file. Furthermore, it validates that `TF_WORKSPACE` exists in the organization specified in your configuration or `TF_ORGANIZATION`. Alternatively, this variable can also be used to select a workspace if you specify tags in your `cloud` configuration, returning an error if `TF_WORKSPACE` is not included in the set of tags specified in your configuration. Refer to [TF_WORKSPACE](https://www.terraform.io/cli/config/environment-variables#tf_workspace) for more details.
|
||||
- `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`. If the `cloud` block uses tags, 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.
|
||||
|
||||
## Excluding Files from Upload with .terraformignore
|
||||
|
||||
|
||||
Reference in New Issue
Block a user