broad-zoo-34077
03/01/2024, 4:53 PMlittle-author-61621
narrow-dinner-45042
03/01/2024, 5:00 PMnarrow-dinner-45042
03/01/2024, 5:00 PM./deploy/terraform
so could I do something like ./deploy/terraform/.DetectedProjects
?little-author-61621
narrow-dinner-45042
03/01/2024, 5:09 PMlittle-author-61621
infracost generate config --repo-path=deploy/terraform --template-path=infracost.yml.tmpl --out-file=deploy/terraform/infracost.yml
cd deploy/terraform
infracost breakdown --config-file=infracost.yml
narrow-dinner-45042
03/01/2024, 5:16 PMinfracost.yml.tmpl
file has to live at the root of the repo and so the config file would also start looking from the root and not deploy/terraform
, unless Im misunderstandinglittle-author-61621
little-author-61621
narrow-dinner-45042
03/01/2024, 5:19 PMlittle-author-61621
narrow-dinner-45042
03/01/2024, 5:20 PMmysterious-teacher-68276
03/06/2024, 2:37 PMversion: 0.1
autodetect:
max_search_depth: 8
projects:
{{- range $project := .DetectedProjects }}
...
Please note this feature is in preview and is not publicly documented.narrow-dinner-45042
03/06/2024, 2:56 PMnarrow-dinner-45042
03/06/2024, 3:57 PMmysterious-teacher-68276
03/06/2024, 3:58 PMmysterious-teacher-68276
03/06/2024, 3:58 PMmysterious-teacher-68276
03/06/2024, 3:58 PMnarrow-dinner-45042
03/06/2024, 4:54 PMinfracost.yml.tmpl
file, but github PR comments still appear to be showing projects from the old config filenarrow-dinner-45042
03/06/2024, 4:54 PMmysterious-teacher-68276
03/06/2024, 4:55 PMnarrow-dinner-45042
03/06/2024, 4:55 PMnarrow-dinner-45042
03/06/2024, 4:56 PMnarrow-dinner-45042
03/06/2024, 4:57 PMede3c7f4-29ec-4890-b187-dada03424add
crooked-daybreak-55253
03/06/2024, 5:17 PMnarrow-dinner-45042
03/06/2024, 5:19 PMnarrow-dinner-45042
03/06/2024, 5:24 PMnarrow-dinner-45042
03/06/2024, 5:24 PMnarrow-dinner-45042
03/21/2024, 1:51 PM.DetectedProjects
in my config file have any affect on the number of CI/CD runs counted for my Github App integration? Weve noticed a spike in our infracost usage in the month of March, and Im trying to understand the root cause. Im wondering if using .DetectedProjects
had an affect here? Like infracost now has to figure out the projects on its own, so every PR run counts regardless of if there are terraform changes?little-author-61621
.DetectedProjects
shouldn’t have an effect, but every PR run will count.narrow-dinner-45042
03/21/2024, 3:06 PMevery PR run will count.Does this include PRs that have no terraform changes? If so, is that a change in behavior? I cant refer back to it now because the slack messages are gone, but I was previously told that runs on PRs with no tf changes do not count towards the monthly limit
little-author-61621
Only post a comment in pull requests that have Terraform changes (recommended)
I remember from before that I think you have this turned on.narrow-dinner-45042
03/21/2024, 3:18 PMnarrow-dinner-45042
03/21/2024, 3:18 PMnarrow-dinner-45042
03/21/2024, 3:18 PMnarrow-dinner-45042
03/22/2024, 3:41 PMlittle-author-61621