From b0e1a64955a741b256f5372f667da732b38eaffa Mon Sep 17 00:00:00 2001 From: Matthew Warman Date: Wed, 8 Nov 2023 12:50:32 +0000 Subject: [PATCH] refactor: use tf wrapper after std out fix --- .github/workflows/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 42dd0a9..78b1c67 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -77,7 +77,7 @@ jobs: "plan_outcome_destroy":(map(select(.=="delete")) | length) } | to_entries | map("\(.key)=\(.value)") | @sh ' - eval "export $(${TERRAFORM_CLI_PATH}/terraform-bin show -json tfplan | jq -r "${jq_plan_parser}")" + eval "export $(terraform show -json tfplan | jq -r "${jq_plan_parser}")" { printf "has_changes=yes\n"; printf "add=%s\n" "${plan_outcome_add}"