This message was deleted.
# general
b
This message was deleted.
👋 1
c
Hi Deniz, You should be able to set it up either way. If you want a single comment you can pass multiple infracost jsons to
infracost comment
like
infracost comment github --path infracost.qa.json --path infracost.prod.json
If you want separate comments for each env, you can call
infracost comment
twice and pass a different
--tag
flag:
infracost comment github --path infracost.qa.json --tag infracostqa
and
infracost comment github --path infracost.prod.json --tag infracostprod
a
@crooked-daybreak-55253 thanks for the reply. My qa job and prod job will be running parallel so I believe the instance where my qa workflow is running will not have a prod.json file. so I believe tags and two comments are the way to go. do you agree?
c
If that works for you that might be the easiest, but take a look at the matrix example which creates a single comment for parallel runs by uploading the breakdown jsons as artifacts
a
exactly what I was looking for thanks! amazing tool by the way 🎉
❤️ 1
👍 1
🚀 1