Skip to content

Commit

Permalink
[DEVEX-132] Fix TF plan output in case of percentage symbol (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 authored May 29, 2024
1 parent d4154ae commit 20d0f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/infra_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
terraform plan -lock-timeout=3000s -no-color 2>&1 | tee plan_output.txt
OUTPUT=$(grep -Ev "Refreshing state|state lock|Reading|Read" plan_output.txt | tail -c 60000)
printf "$OUTPUT" > plan_output_multiline.txt
printf "%s" "$OUTPUT" > plan_output_multiline.txt
if grep -q "::error::Terraform exited with code" plan_output.txt; then
echo "failed"
Expand Down

0 comments on commit 20d0f05

Please sign in to comment.