robburger / terraform-pr-commenter

A GitHub Action that adds opinionated comments to a PR from Terraform fmt/init/plan output
MIT License
132 stars 65 forks source link

Plan truncates "Changes to Outputs:" #16

Open robburger opened 3 years ago

robburger commented 3 years ago

The recent change in commit https://github.com/robburger/terraform-pr-commenter/commit/53de913ed8792c291926fa39ef7b34a0b701344c to the way the plan truncation happens cuts off the Changes to Outputs: section, which follows the Plan: x to add, x to change, x to destroy. line.

Fix: have a look at the horizontal rule characters again and try to truncate before them.