loud-activity-61825
07/22/2024, 2:02 PMinfracost.yml
and however when adding files to directories outlined as dependancy_paths
the changes are not detected and infracost is returning no changes identified. It does work when changes in the explicitly defined terraform_var_files
.
For this particular change I am adding a new file (and therefore tf resources) to a local module (./modules/local-resources/storage.tf
) which I had expected to be detected. I've tried a few permutations to get infracost to detect these new files without luck, including setting include_all_paths
. I'm hoping I'm doing something silly and you can point me in the right direction.
Great tool by the way and thanks for any help!!
version: 0.1
projects:
- path: "./local-environments"
name: "Local Resources"
terraform_var_files:
- "../engineers.json"
dependency_paths:
- "local-environments/**"
- "modules/local-resources/**"
- "engineers.json"
- path: "./team-onboarding"
name: "Team Membership"
terraform_var_files:
- "../teams.json"
dependency_paths:
- "team-onboarding/**"
- "modules/team/**"
- "teams.json"