Skip to content

Commit 205bf7d

Browse files
authored
Update sync.yml
1 parent 8f4f71e commit 205bf7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ jobs:
8383
working-directory: terraform
8484
- name: Refresh terraform state
8585
if: ${{ github.event.inputs.refresh == 'true' }}
86-
run:
86+
run: |
8787
echo "{}" > $TF_WORKSPACE.tfstate.json
88-
terraform refresh -lock=$TF_LOCK
88+
terraform apply -refresh-only -auto-approve -lock=$TF_LOCK
8989
- name: Pull terraform state
9090
run: |
9191
terraform show -json > $TF_WORKSPACE.tfstate.json

0 commit comments

Comments
 (0)