Skip to content

Commit 87e2146

Browse files
committed
fix: workspace vars
1 parent c307144 commit 87e2146

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
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: database-staging
15+
cloud_workspace: ${{ vars.TF_WORKSPACE }}

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
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: database-staging
26+
cloud_workspace: ${{ vars.TF_WORKSPACE }}
2727

2828
permissions:
2929
contents: read

.github/workflows/terraform-destroy.yml

Lines changed: 2 additions & 0 deletions
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)