Skip to content

Commit

Permalink
Merge pull request #1558 from diggerhq/docs/remove-terraform-version
Browse files Browse the repository at this point in the history
Docs: remove non-working terraform_version option
  • Loading branch information
ZIJ authored Jun 4, 2024
2 parents e9cb76b + ed37612 commit 3d932db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/howto/workspaces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ title: "Workspaces"
description: "You can specify a Workspace for a project by using the `workspace` option in `digger.yml`"
---

<Note>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)</Note>
<Note>
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)
</Note>

So you can have 2 projects linked to the same directory but using different workspaces, like this:

Expand All @@ -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/)

0 comments on commit 3d932db

Please sign in to comment.