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

Read plan from a file? #27

Open jcogilvie opened 2 years ago

jcogilvie commented 2 years ago

Sometimes our plans get quite lengthy if we make a core level change that fans out. In these cases, we get "argument list too long" errors in docker. Would it be possible to add support for passing a plan file reference to the commenter rather than the raw comment text, and have the commenter script cat the file itself?