broad-zoo-34077
12/05/2023, 4:43 PMlittle-author-61621
terragrunt commands from? Both live/green/vpc and live/green/vpc/endpoint?little-author-61621
infracost breakdown --path=. --exclude-path endpointbrief-ice-47661
12/05/2023, 5:36 PMlive/green live/green/vpc and live/green/vpc/endpoint and no issueslittle-author-61621
--exclude-path option?brief-ice-47661
12/05/2023, 5:43 PMvpc/endpoint it does workbrief-ice-47661
12/05/2023, 5:45 PMlittle-author-61621
infracost breakdown --path=. --exclude-path="**/**/terragrunt.hcl"
The issue is we run similar logic to terragrunt run-all when you pass a path that has multiple directories with terragrunt.hcl files under it, so this is trying to exclude any of those children Terragrunt projects.
p.s. please don’t send all responses to the channel, there’s 506 people who get notified when that happens.brief-ice-47661
12/05/2023, 6:03 PMlittle-author-61621
infracost.yml config file help:
version: 0.1
projects:
- path: live/green/vpc
exclude_paths:
- "**/terragrunt.hcl"
- path: live/green/vpc/endpoint
exclude_paths:
- "**/terragrunt.hcl"
And running infracost breakdown --config-file=infracost.ymlbrief-ice-47661
12/05/2023, 6:13 PMlive/green/vpc/_envcommon/endpoint.hcl: no such file or directorybrief-ice-47661
12/05/2023, 6:18 PMlittle-author-61621
terragrunt plan in live/green/vpc/endpoint.little-author-61621
Which for the case ofsearches up the directory tree from the currentfind_in_parent_folders()file and returns the absolute path to the firstterragrunt.hclin a parent folder or exit with an error if no such file is found.terragrunt.hcl
live/green/vpc/endpoint would be the live/green/vpc no?brief-ice-47661
12/05/2023, 6:43 PMlittle-author-61621
bored-actor-81445
12/14/2023, 9:56 AMI am runningatinfracost breakdown --path=.however, I am receiving this error:live/green/
```live/greenng/vpc/_envcommon/endpoint.hcl:
no such file or directory```I see
green and greenng is that an editing typo or ... ?