Files
opentf/website/docs/cli
Karl Kirch d7e07e66fc Add ability to specify Terraform Cloud Project in cloud block (#33489)
* Add ability to specify Terraform Cloud Project in cloud block

Adds project configuration to the workspaces section of the cloud block.
Also configurable via the `TF_CLOUD_PROJECT` environment variable.
When a project is configured, the following behaviors will occur:
- `terraform init` with workspaces.name configured will create the workspace in the given project
- `terraform workspace new <name>` with workspaces.tags configured will create workspaces in the given project
- `terraform workspace list` will list workspaces only from the given project

The following behaviors are NOT affected by project configuration
- `terraform workspace delete <name>` does not validate the workspace's inclusion in the given project
- When initializing a workspace that already exists in Terraform Cloud, the workspace's parent project is NOT validated against the given project

Adds tests for cloud block configuration of project
Update changelog

* Update cloud block docs

* Fix typos and changelog entry

* Add speculative project lookup early in the cloud initialize process to capture inability to find a configured project

* Add project config for alias test
2023-08-01 13:43:07 -07:00
..
2023-02-23 12:55:56 -05:00
2023-02-23 12:55:56 -05:00
2023-07-13 09:35:07 -07:00
2023-06-12 10:32:53 +01:00
2023-02-23 12:55:56 -05:00
2023-02-23 12:55:56 -05:00
2023-04-03 13:31:53 -07:00
2023-02-23 12:55:56 -05:00
2023-02-23 12:55:56 -05:00
2023-02-23 12:55:56 -05:00
2023-02-23 12:55:56 -05:00