broad-zoo-34077
08/14/2022, 9:18 PMcrooked-daybreak-55253
08/15/2022, 12:54 AMcrooked-daybreak-55253
08/15/2022, 1:29 AMINFRACOST_VCS_REPOSITORY_URL and INFRACOST_VCS_PULL_REQUEST_URL while generating the breakdown I can get it to show up in the list BUT that only works if it is not a directory that has been checked out from git (if the CLI detects the git directory, it ignores those env variables 😞). Further, the PR name in the dashboard shows up as empty and there isn’t a way to set that manually.crooked-daybreak-55253
08/15/2022, 1:30 AMflat-article-86750
08/15/2022, 1:58 AMflat-article-86750
08/15/2022, 2:27 AM"curl -fsSL <https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh> | sh || true && " +
"infracost --version && " +
"INFRACOST_VCS_REPOSITORY_URL=${ghRepo} INFRACOST_VCS_PULL_REQUEST_URL=${prURL} INFRACOST_ENABLE_CLOUD=true infracost diff --format json --path ${tfPlan} --project-name ${goEnvironment}${projectName}"crooked-daybreak-55253
08/15/2022, 2:29 AMflat-article-86750
08/15/2022, 2:29 AMflat-article-86750
08/15/2022, 2:31 AMcrooked-daybreak-55253
08/15/2022, 2:31 AMflat-article-86750
08/15/2022, 2:32 AMflat-article-86750
08/15/2022, 2:39 AMflat-article-86750
08/15/2022, 2:48 AMcrooked-daybreak-55253
08/15/2022, 2:53 AMflat-article-86750
08/15/2022, 2:56 AMcrooked-daybreak-55253
08/15/2022, 2:57 AMcrooked-daybreak-55253
08/15/2022, 3:00 AMcrooked-daybreak-55253
08/15/2022, 3:01 AMjq available in the environment?flat-article-86750
08/15/2022, 3:02 AMflat-article-86750
08/15/2022, 3:02 AMjq available in the environment?
Yes.crooked-daybreak-55253
08/15/2022, 3:11 AMinfracost comment, sorry I missed that. Right now the PR stuff is only created with the comment command. So even if we get the pr info in the json it won’t display in the dashboard PR view.
We may need need to add something like an infracost upload command to support people who don’t need comment.flat-article-86750
08/15/2022, 3:13 AMflat-article-86750
08/15/2022, 3:52 AM