bulky-train-92407
09/12/2026, 11:55 PMinfracost scan . at my repo root, I get an output like:
│ Project Resources Monthly Cost FinOps Tagging │
│ amazonaws.com 19 $5,384 4 (⚠️ x3) 1 (⚠️ x1)
But when I run `infracost scan project_path, I get:
│ Project Resources Monthly Cost FinOps Tagging │
│ main 19 $0 4 (⚠️ x3) 1 (⚠️ x1)bulky-train-92407
09/13/2026, 12:00 AMinfracost breakdown in favor of infracost scan is a bad one.bulky-train-92407
09/13/2026, 12:03 AM~/.cache/infracost/ ) in which a Terraform module in the same git repository is not discovered by infracost, despite being hard-coded into infracost.yml::projects[].dependency_paths (infracost.yml sits at the repo root, all paths in the config file are relative to the root dir).early-queen-42970
brash-barista-9591
09/14/2026, 2:15 PMbrash-barista-9591
09/14/2026, 2:16 PMinfracost scan the command will output various infracost inspect commands to help you output the (now cached) results in different formats.brash-barista-9591
09/14/2026, 2:49 PMinspect by resource you'll probably see why the cost amounts are different. My guess is there's an infracost.yml file in the repo root which defines the <http://amazonaws.com|amazonaws.com> project, and maybe includes some usage based values? When you specify the project path it's not walking up to the parent directory/repo root to find the yaml config. I'm kinda guessing based on the results.brash-barista-9591
09/14/2026, 2:50 PM