Hello team why its not showing the dashboard
# help
r
Hello team why its not showing the dashboard
Like this
b
Hello! How do you use Infracost in this repo? Have you installed our GitHub app or using Infracost CLI in CI/CD?
r
I am using github web and hsing github actions ci cd
b
Do you see Infracost running in a workflow? What do logs show?
Also, have you tried modifying a
.tf
file and not variables file to see what happens?
r
Not tried i declare all var in tfvars
In pull request i can see dashboard but i want to see like above screenshot
b
Please elaborate the dashboard. Do you mean you can see estimates in Infracost Dashboard? If yes, could you please send this URL to me in DM, I'll take a look.
Also, as a test, you can try adding a new file
<http://infracost_test.tf|infracost_test.tf>
in a new PR to see if the comment gets posted at all. You can grab this code: https://github.com/infracost/demo-repo/blob/main/main.tf
r
Can i see this things
b
That's what we are trying to troubleshoot 🙂
r
Can i see in file changed same dashboard in tfvars like here
b
I need to understand how your setup is done to be able to answer your question 🙂 For that, I need to know : 1. Can you see estimates in Infracost dashboard? If yes, please share the link to it, so I can see what org and repo you are using. 2. Can you please create a test PR with the tf file, so we see if the workflow works as expected and posts a PR comment. If it works then I would guess we should look at your repo structure, maybe it needs a config file to correctly detect tfvars changes
r
Sure i will share
Hi @busy-agent-35515 Here is the PR https://github.com/ravisrma/test-repo/pull/1/files
b
Okay, so the workflow works for test repo. Good. Now we need to figure out the structure of your actual repo. Can you please share your organization ID? You can find it in https://dashboard.infracost.io -> Settings -> Org settings -> General
r
pinged in Personal
b
Figured out the screenshot is outdated, the PR comment format has changed, so the cost estimate was not clearly visible. The PR comment is posted and shows correct diff.