hello, trying to get a cost estimation as a PR com...
# help
h
hello, trying to get a cost estimation as a PR comment. I just want a cost estimation instead of having a diff. I actually just want to display the first photo which is the cost estimation. when i run this
Copy code
- name: Generate Infracost breakdown
        run: |
          infracost breakdown --path=. \
                        --show-skipped \
                        --usage-file=infracost-usage.yml \
                        --format=json \
                        --out-file=/tmp/infracost.json

      
      - name: Post Infracost comment
        run: |
            infracost comment github --path=/tmp/infracost.json \
                                     --repo=$GITHUB_REPOSITORY \
                                     --github-token=${{ github.token }} \
                                     --pull-request=${{ github.event.pull_request.number }} \
                                     --behavior=new
i only end up with a blank comment. (2nd picture) i already have
infracost-usage.yml
in the root. any ideas? Thanks! is this even possible?
l
Hi @hundreds-summer-15308, the Infracost comment only supports the diff output.