Skip to content

Commit 5c7d79b

Browse files
authored
fix: workspace var (#5)
2 parents 860a085 + e5ee9c0 commit 5c7d79b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
uses: soat-tech-challenge/github-workflows/.github/workflows/terraform-apply.yml@main
1313
secrets: inherit
1414
with:
15-
cloud_workspace: computing-staging
15+
cloud_workspace: ${{ vars.TF_WORKSPACE }}

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: soat-tech-challenge/github-workflows/.github/workflows/terraform-plan.yml@main
2424
secrets: inherit
2525
with:
26-
cloud_workspace: computing-staging
26+
cloud_workspace: ${{ vars.TF_WORKSPACE }}
2727

2828
permissions:
2929
contents: read

.github/workflows/terraform-destroy.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ jobs:
77
terraform_destroy:
88
uses: soat-tech-challenge/github-workflows/.github/workflows/terraform-destroy.yml@main
99
secrets: inherit
10+
with:
11+
workspace: ${{ vars.TF_WORKSPACE }}

0 commit comments

Comments
 (0)