terraform-pr-commenter icon indicating copy to clipboard operation
terraform-pr-commenter copied to clipboard

Add link to action log if TF plan exceeds 65300 char

Open vikram-katkar opened this issue 3 years ago • 8 comments

It would be a better idea to point to github actions logs if TF plan is big enough to not fit PR character limit. Wdyt?

vikram-katkar avatar Nov 26 '21 13:11 vikram-katkar

pr-comment

vikram-katkar avatar Nov 26 '21 14:11 vikram-katkar

@robburger Any issue with the PR?

cayter avatar Jan 07 '22 05:01 cayter

@cayter Nice work, would be great to have this merged.

allankp avatar Jan 25 '22 12:01 allankp

This would be really useful, can we merge this?

AliHill0 avatar Jan 25 '22 12:01 AliHill0

@robburger would be great if this one can be merged

dkooll avatar Apr 13 '22 08:04 dkooll

when can this be merged ?

sunnyoswalcro avatar Jul 18 '22 03:07 sunnyoswalcro

@vikram-katkar have you considered forking this since it appears it's not longer in active development. Or have you found an alternative

Office-Manager avatar Mar 21 '23 09:03 Office-Manager

I'm looking for this use-case as well: some way of linking back to the workflow logs if the Terraform plan output is too long to add as a comment.

Found a solution DevSecTop/TF-via-PR repository, which hosts a reusable workflow to run Terraform commands via PR comments, like a CLI.

Here's an example of how the output PR comments made by the workflow links back to the triggering workflow logs, where the plan can be viewed in full or downloaded as an artifact.

rdhar avatar Aug 21 '23 12:08 rdhar