From 45106193eaeb237833018094b3b21269687ce6e8 Mon Sep 17 00:00:00 2001 From: tjololo <1145298+tjololo@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:04:47 +0100 Subject: [PATCH] reduce max plan size --- actions/terraform/plan/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/terraform/plan/action.yaml b/actions/terraform/plan/action.yaml index 92dcdaf5..f2256698 100644 --- a/actions/terraform/plan/action.yaml +++ b/actions/terraform/plan/action.yaml @@ -148,7 +148,7 @@ runs: ${{ format('{0}{1}', steps.plan.outputs.stdout, steps.plan.outputs.stderr) }} ${{ env.DELIMITER }}1 ) - plan=$(echo "${plan}" | grep -v 'Refreshing state' | tail --bytes 200000) + plan=$(echo "${plan}" | grep -v 'Refreshing state' | tail --bytes 100000) echo "PLAN<<${{ env.DELIMITER }}2" >> $GITHUB_ENV echo '[Lines containing Refreshing state removed]' >> $GITHUB_ENV echo '[Maybe further truncated see logs for complete plan output]' >> $GITHUB_ENV