Skip to content

Commit 32a697a

Browse files
committed
chore: save tfplan file to terraform-data/ dir
[skip ci]
1 parent d45b896 commit 32a697a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/provision-by-terraform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ jobs:
9999
-detailed-exitcode \
100100
-var-file terraform-data/terraform.tfvars \
101101
-state terraform-data/terraform.tfstate \
102-
-out terraform.tfplan
102+
-out terraform-data/terraform.tfplan
103103
104104
105105
- name: Cleanup
106106
if: always()
107107
working-directory: infra/terraform
108108
run: |
109-
for FILE in vault-pass.txt terraform.tfplan terraform-data/terraform.tfstate terraform-data/terraform.tfvars; do
109+
for FILE in vault-pass.txt terraform-data/terraform.tfplan terraform-data/terraform.tfstate terraform-data/terraform.tfvars; do
110110
[ ! -f "$FILE" ] || rm -fv "$FILE"
111111
done
112112
[ ! -d terraform-data ] || git worktree remove terraform-data

0 commit comments

Comments
 (0)