Difference between revisions of "Terraform workspace"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 23: Line 23:
 
* [[Terraform backends]]
 
* [[Terraform backends]]
 
* [[State files]]
 
* [[State files]]
* [[terraform env]] (deprecated)
 
 
* [[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]]:

Revision as of 22:35, 7 June 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: