Difference between revisions of "Terraform workspace"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[terraform workspace]]</code> (Mar 2017, [https://www.terraform.io/docs/cloud/workspaces/index.html doc]) | |
− | + | == Commands == | |
− | + | {{terraform workspace TOC}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Cloud block example == | == Cloud block example == | ||
terraform { | terraform { | ||
− | cloud { | + | [[Terraform cloud block|cloud]] { |
[[organization]] = "my-org" | [[organization]] = "my-org" | ||
Line 27: | Line 19: | ||
* [[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]] | ||
Multiple workspaces are currently supported by the following [[backends]]: | Multiple workspaces are currently supported by the following [[backends]]: | ||
Line 40: | Line 32: | ||
* Local | * Local | ||
* [[Manta]] | * [[Manta]] | ||
− | * | + | * [[Terraform remote backend]] |
* S3 | * S3 | ||
+ | * [[Terraform GoogleWorkspaces]] | ||
+ | |||
+ | == Activities == | ||
+ | * https://developer.hashicorp.com/terraform/cloud-docs/recommended-practices/part1#about-workspaces | ||
+ | ** One Workspace Per Environment Per Terraform Configuration | ||
== See also == | == See also == |
Latest revision as of 12:55, 30 October 2024
terraform workspace
(Mar 2017, doc)
Commands[edit]
terraform workspace new MY_NEW_WORKSPACE
terraform workspace select
terraform workspace list
terraform workspace show
terraform workspace delete
terraform workspace --help
Cloud block example[edit]
terraform { cloud { organization = "my-org" workspaces { name = "my-workspace" } } }
Related terms[edit]
- 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:
- AzureRM
- Consul
- COS
- GCS
- Kubernetes
- Local
- Manta
- Terraform remote backend
- S3
- Terraform GoogleWorkspaces
Activities[edit]
- https://developer.hashicorp.com/terraform/cloud-docs/recommended-practices/part1#about-workspaces
- One Workspace Per Environment Per Terraform Configuration
See also[edit]
Advertising: