diff --git a/actions/terraform/plan/action.yaml b/actions/terraform/plan/action.yaml index 136e97b7..2328be95 100644 --- a/actions/terraform/plan/action.yaml +++ b/actions/terraform/plan/action.yaml @@ -148,7 +148,8 @@ runs: PLAN_STDERR: ${{ steps.plan.outputs.stderr }} run: | plan=$(cat <<${{ env.DELIMITER }}1 - ${{ format('{0}{1}', env.PLAN_STDOUT, env.PLAN_STDERR) }} + ${PLAN_STDOUT@Q} + ${PLAN_STDERR@Q} ${{ env.DELIMITER }}1 ) plan=$(echo "${plan@Q}" | grep -v 'Refreshing state' | tail --bytes 200000)