Difference between revisions of "Terraform workspaces"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 21: Line 21:
 
== Related ==
 
== Related ==
 
* <code>${terraform.workspace}</code>
 
* <code>${terraform.workspace}</code>
 +
* [[Terraform provider: dns]]
  
 
== See also ==
 
== See also ==

Revision as of 22:35, 7 June 2022


Certain backends support multiple named workspaces allowing multiple states to be associated with a single configuration.

Usage scenarios

  • To create a parallel, distinct copy of a set of infrastructure in order to test a set of changes before modifying the main production infrastructure.
  • Non-default workspaces are often related to feature branches in version control.

Commands

Related

See also

Advertising: