You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Choose the commenting behavior, 'new' is a good default:# new: Create a new cost estimate comment on every run of Atlantis for each project.# update: Create a single comment and update it. The "quietest" option.# hide-and-new: Minimize previous comments and create a new one.# delete-and-new: Delete previous comments and create a new one.infracost comment github --repo $BASE_REPO_OWNER/$BASE_REPO_NAME \--pull-request $PULL_NUM \--path /tmp/$BASE_REPO_OWNER-$BASE_REPO_NAME-$PULL_NUM/'*'-infracost.json \--github-token $GITHUB_TOKEN \--behavior new
It would be awesome if tf-summarize could follow the same spec so it can be integrated the same way 😄
Infracost is also a golang lib and I'd be curious if its libraries could be reused to support the gh commenter (and maybe even the other VCSs)
Actually, after some additional research it looks like infracost put a lot of its comment logic in its internal subdirectory making it impossible to use as a library.
I did come across this command line utility that could be used instead of building a subcommand.
Hi. I like your command line utility a lot.
I use atlantis for gh terraform workflows and I would love to integrate this app with atlantis similar to infracosts latest setup.
https://github.com/infracost/infracost-atlantis/blob/master/examples/combined-infracost-comment/README.md
Excerpt from above
It would be awesome if tf-summarize could follow the same spec so it can be integrated the same way 😄
Infracost is also a golang lib and I'd be curious if its libraries could be reused to support the gh commenter (and maybe even the other VCSs)
https://github.com/infracost/infracost
Actually, after some additional research it looks like infracost put a lot of its comment logic in its internal subdirectory making it impossible to use as a library.
I did come across this command line utility that could be used instead of building a subcommand.
https://github.com/cloudposse/github-commenter/
The text was updated successfully, but these errors were encountered: