Difference between revisions of "Terraform workspace"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://www.terraform.io/docs/cloud/workspaces/index.html
 
* https://www.terraform.io/docs/cloud/workspaces/index.html
  
Terraform workspaces allows to have multiple [[state files]] in the same working directory to manage multiple distinct sets of infrastructure resources
+
[[Terraform workspaces]] allows to have multiple [[state files]] in the same working directory to manage multiple distinct sets of infrastructure resources
  
  

Revision as of 09:04, 14 October 2022

Terraform workspaces allows to have multiple state files in the same working directory to manage multiple distinct sets of infrastructure resources


Cloud block example

terraform {
  cloud {
    organization = "my-org" 

    workspaces {
      name = "my-workspace"
    }
  }
}

Related terms

Multiple workspaces are currently supported by the following backends:

See also

Advertising: