diff --git a/docs/howto/workspaces.mdx b/docs/howto/workspaces.mdx index 5e156f41e..79183e038 100644 --- a/docs/howto/workspaces.mdx +++ b/docs/howto/workspaces.mdx @@ -3,7 +3,11 @@ title: "Workspaces" description: "You can specify a Workspace for a project by using the `workspace` option in `digger.yml`" --- -This is about Terraform CLI Workspaces - not Terraform Cloud Workspaces. Those are different things for historic reasons. [Hashicorp article](https://developer.hashicorp.com/terraform/cloud-docs/workspaces#terraform-cloud-vs-terraform-cli-workspaces) + + This is about Terraform CLI Workspaces - not Terraform Cloud Workspaces. Those + are different things for historic reasons. [Hashicorp + article](https://developer.hashicorp.com/terraform/cloud-docs/workspaces#terraform-cloud-vs-terraform-cli-workspaces) + So you can have 2 projects linked to the same directory but using different workspaces, like this: @@ -12,11 +16,9 @@ projects: - name: dev dir: ./ workspace: dev - terraform_version: v0.11.0 - name: prod dir: ./ workspace: prod - terraform_version: v0.11.0 ``` -Example repository: [https://github.com/diggerhq/digger\_demo\_workspaces/](https://github.com/diggerhq/digger%5Fdemo%5Fworkspaces/) +Example repository: [https://github.com/diggerhq/digger_demo_workspaces/](https://github.com/diggerhq/digger%5Fdemo%5Fworkspaces/)