Difference between revisions of "Terraform workspace"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 22: | Line 22: | ||
* [[Terraform Associate]]: Describe the benefits of [[Sentinel]], [[registry]], and [[workspaces]] | * [[Terraform Associate]]: Describe the benefits of [[Sentinel]], [[registry]], and [[workspaces]] | ||
* [[Terraform backends]] | * [[Terraform backends]] | ||
− | * [[ | + | * [[Terraform state files]] |
* [[Terraform cloud block]] | * [[Terraform cloud block]] | ||
* [[Terraform provider: dns]] | * [[Terraform provider: dns]] |
Revision as of 09:02, 14 October 2022
Terraform workspaces allows to have multiple state files in the same working directory to manage multiple distinct sets of infrastructure resources
terraform workspace new MY_NEW_WORKSPACE
terraform workspace select
terraform workspace list
terraform workspace show
terraform workspace delete
terraform workspace --help
Cloud block example
terraform { cloud { organization = "my-org" workspaces { name = "my-workspace" } } }
Related terms
- Terraform Associate: Describe the benefits of Sentinel, registry, and workspaces
- Terraform backends
- Terraform state files
- Terraform cloud block
- Terraform provider: dns
Multiple workspaces are currently supported by the following backends:
See also
Advertising: