This message was deleted.
# help
b
This message was deleted.
l
k
Yes
l
Hmm… this seems odd (https://github.com/gruntwork-io/terragrunt-infrastructure-live-example/blob/master/terragrunt.hcl#L9). Since there’s a terragrunt.hcl file in the top-level directory, we are treating that as a Terragrunt project, and it doesn’t have any parent folders
So we’re showing the same error that terragrunt itself shows if you run
terragrunt run-all plan
on that directory
Does pointing to one of the subdirectories work, i.e.
infracost breakdown --path=/home/josh/terragrunt-infrastructure-live-example/prod
k
Checking...
@little-author-61621 That does work!
Interesting, thank you
l
Something like this might also work, so that infracost doesn’t think the top level directory is a Terragrunt project:
Copy code
infracost breakdown --path=/home/josh/terragrunt-infrastructure-live-example --exclude-path=terragrunt.hcl
k
Yes, that does work as well. Thank you for help even though the issue is in this terragrunt repo
🙏 1
673 Views