kind-angle-62935
02/08/2023, 3:35 PMexclude_paths
relative to the path of the project or the root of where it's being told to run?little-author-61621
kind-angle-62935
02/08/2023, 3:39 PMwhite-airport-8778
include_all_paths: true
kind-angle-62935
02/08/2023, 3:43 PMinclude_all_paths
does. By default it's false
? But if it's false
by default, infracost still recursively runs?white-airport-8778
dev
dir to find terraform files:
version: 0.1
projects:
- path: dev
include_all_paths: true
Without include_all_paths: true
, only the dev
directory is checked for terraform files.kind-angle-62935
02/08/2023, 3:51 PMinclude_all_paths
true
by default?version: 0.1
projects:
- path: dev
include_all_paths: false
- path: dev/bar
include_all_paths: false
white-airport-8778
include_all_paths: true
tells the CLI path autodetect function to use all directories (i.e. root and non-root modules) with valid project files, down to a max depth of 10 directories. By default Infracost will try to autodetect only root Terraform modules. Setting this to true includes subdirectories that we detect as modules instead of only root modules.
(I’ll keep iterating on the docs…)