ambitious-book-89337
10/03/2022, 2:57 PMcrooked-daybreak-55253
10/03/2022, 3:13 PMinfracost breakdown
three separate times. Then if you’re using infracost comment
use the --tag=infracost_<your_project_name>
flag to have each run show up in a different comment (so they don’t overwrite each other).
If you’re up for hacking the JSON output you could try generating the infracost breakdown
as you are now, then parse out each element in the "projects"
array and create a one-project json for each, then post using infracost comment
with the --tag
flag as above. This would be a bit fragile and I’m not sure what issues you might run into (you would want to adjust the top-level “total_…” keys for sure).ambitious-book-89337
10/03/2022, 3:15 PMcrooked-daybreak-55253
10/03/2022, 3:16 PMambitious-book-89337
10/03/2022, 3:16 PM