Skip to content

Commit 17101da

Browse files
authored
Small fixes to OpenTofu instructions (#2428)
* Fix indentation in GCP workflow * Add opentofu flag to digger.yml
1 parent 1f2eeaa commit 17101da

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/ce/getting-started/with-opentofu.mdx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ This file contains Digger configuration and needs to be placed at the root level
6363
projects:
6464
- name: production
6565
dir: prod
66+
opentofu: true
6667
```
6768
</Step>
6869

@@ -153,15 +154,15 @@ Place it at `.github/workflows/digger_workflow.yml` (name is important!)
153154
- name: 'Use gcloud CLI'
154155
run: 'gcloud info'
155156
- name: digger run
156-
uses: diggerhq/digger@vLatest
157-
with:
158-
digger-spec: ${{ inputs.spec }}
159-
setup-aws: false
160-
setup-opentofu: true
161-
opentofu-version: 1.10.3
162-
env:
163-
GITHUB_CONTEXT: ${{ toJson(github) }}
164-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157+
uses: diggerhq/digger@vLatest
158+
with:
159+
digger-spec: ${{ inputs.spec }}
160+
setup-aws: false
161+
setup-opentofu: true
162+
opentofu-version: 1.10.3
163+
env:
164+
GITHUB_CONTEXT: ${{ toJson(github) }}
165+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
165166
```
166167
167168
This workflow includes additional steps for GCP:

0 commit comments

Comments
 (0)