Difference between revisions of "Terraform workspace"

From wikieduonline
Jump to navigation Jump to search
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://www.terraform.io/docs/cloud/workspaces/index.html
+
<code>[[terraform workspace]]</code> (Mar 2017, [https://www.terraform.io/docs/cloud/workspaces/index.html doc])
  
 +
== Commands ==
 +
{{terraform workspace TOC}}
  
 
+
== Cloud block example ==
* <code>[[terraform workspace new]] MY_NEW_WORKSPACE</code>
+
terraform {
* <code>[[terraform workspace select]]</code>
+
  [[Terraform cloud block|cloud]] {
* <code>[[terraform workspace list]]</code>
+
    [[organization]] = "my-org"
* <code>[[terraform workspace show]]</code>
+
 
+
    [[Terraform workspace|workspaces]] {
*<code>[[terraform workspace --help]]</code>
+
      name = "my-workspace"
 +
    }
 +
  }
 +
}
  
 
== Related terms ==
 
== Related terms ==
 +
* [[Terraform Associate]]: Describe the benefits of [[Sentinel]], [[registry]], and [[workspaces]]
 
* [[Terraform backends]]
 
* [[Terraform backends]]
 +
* [[Terraform state files]]
 +
* [[Terraform cloud block]]
 +
* [[Terraform provider: dns]]
  
 
Multiple workspaces are currently supported by the following [[backends]]:
 
Multiple workspaces are currently supported by the following [[backends]]:
  
 
* [[AzureRM]]
 
* [[AzureRM]]
* Consul
+
* [[Consul]]
* COS
+
* [[COS]]
* GCS
+
* [[GCS]]
 
* Kubernetes
 
* Kubernetes
 
* Local
 
* Local
* Manta
+
* [[Manta]]
* Postgres
+
* [[Terraform remote backend]]
* Remote
 
 
* S3
 
* S3
 +
 +
 +
== Activities ==
 +
* https://developer.hashicorp.com/terraform/cloud-docs/recommended-practices/part1#about-workspaces
 +
** One Workspace Per Environment Per Terraform Configuration
  
 
== See also ==
 
== See also ==
 
* {{terraform workspace}}
 
* {{terraform workspace}}
* {{terraform cmd}}
+
 
* {{terraform}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 13:47, 18 July 2024

Advertising: