@@ -267,6 +267,20 @@ the template supports an implicit [backend configuration](https://www.terraform.
If one of those files are found, it is automatically used by the template in the `terraform init` command (using the `-backend-config` CLI option).
#### Workspace management
You may want to make use of [Terraform Workspace](https://www.terraform.io/language/state/workspaces)
to ease segregating you multiple environments (tfstate management) by setting variables:
*`$TF_WORKSPACE` to set default workspace,
*`$TF_REVIEW_WORKSPACE`, `$TF_INTEG_WORKSPACE`, `$TF_STAGING_WORKSPACE`, `$TF_PROD_WORKSPACE` to override per environment.
Be aware of the following:
* each of those variables support the value `auto`: in that case, the template will use the dynamic [`$environment_slug` value](#deployment-context-variables) as workspace name,
* if the specified workspace doesn't exist, the template will create it,