Skip to content

Commit

Permalink
reduce max plan size
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo committed Jan 10, 2025
1 parent 032cde2 commit 4510619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/terraform/plan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4510619

Please sign in to comment.