Difference between revisions of "Terraform workspace"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
(Mar 2017)
 
* https://www.terraform.io/docs/cloud/workspaces/index.html
 
* https://www.terraform.io/docs/cloud/workspaces/index.html
  
  
 +
{{terraform workspace TOC}}
  
* <code>[[terraform workspace new]] MY_NEW_WORKSPACE</code>
+
== Cloud block example ==
* <code>[[terraform workspace select]]</code>
+
terraform {
* <code>[[terraform workspace list]]</code>
+
  [[Terraform cloud block|cloud]] {
* <code>[[terraform workspace show]]</code>
+
    [[organization]] = "my-org"
 
+
*<code>[[terraform workspace --help]]</code>
+
    [[Terraform workspace|workspaces]] {
 +
      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]]:
 +
 +
* [[AzureRM]]
 +
* [[Consul]]
 +
* [[COS]]
 +
* [[GCS]]
 +
* Kubernetes
 +
* Local
 +
* [[Manta]]
 +
* Remote
 +
* 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 01:39, 21 March 2023

Advertising: