Skip to content

Commit

Permalink
fix: use terraform-bin to solve output issues
Browse files Browse the repository at this point in the history
See [this issue](hashicorp/setup-terraform#167) for an explanation.
  • Loading branch information
lentidas committed Sep 6, 2022
1 parent cac6650 commit 2f721f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform_schedule_plan_destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}

- name: Delete some resources on the state file
run: terraform state rm $(terraform state list | grep 'argocd_application\|argocd_project\|kubernetes_\|helm_')
run: terraform state rm $(terraform-bin state list | grep 'argocd_application\|argocd_project\|kubernetes_\|helm_')
continue-on-error: true # This is to avoid failed workflows and the consequent noise when the scheduled destroy runs on the days we have not created the test deployment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2f721f2

Please sign in to comment.