broad-zoo-34077
08/14/2023, 2:52 PMmammoth-camera-93119
08/14/2023, 2:55 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 2:59 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 3:03 PMmammoth-camera-93119
08/14/2023, 3:03 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 4:34 PMversion: 0.1
projects:
{{- range $project := matchPaths "envs/:env/terragrunt.hcl" }}
- path: .
name: {{ $project.env }}
terraform_var_files:
- {{ $project._path }}
{{- end }}
mammoth-camera-93119
08/14/2023, 4:34 PMmammoth-camera-93119
08/14/2023, 4:34 PMmammoth-camera-93119
08/14/2023, 4:35 PMinfra-terragrunt-envs
mammoth-camera-93119
08/14/2023, 4:36 PMlittle-author-61621
version: 0.1
projects:
{{- range $project := matchPaths "envs/:env(.*)/terragrunt.hcl" }}
- path: {{ $project._dir }}
name: {{ $project.env }}
{{- end }}
terraform_var_files
is for .tfvar
files so I don’t think we need this.
path
should point to the directory that contains the Terragrunt project
And I’ve change :env
to :env(.*)
so this can match on multiple depths of subfolders.mammoth-camera-93119
08/14/2023, 4:39 PMmammoth-camera-93119
08/14/2023, 4:41 PMmammoth-camera-93119
08/14/2023, 4:41 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 4:44 PMlittle-author-61621
terragrunt.hcl
files load the source from a remote location? If so you might need to set up some credentials for them as per https://www.infracost.io/docs/integrations/github_app/#usagelittle-author-61621
little-author-61621
Circle for estimation is spinning - its a decently sized project, which is why if i had to guessDepending on the number of projects, the first run might be slower since we’ll be populating the cache.
mammoth-camera-93119
08/14/2023, 4:50 PMmammoth-camera-93119
08/14/2023, 4:50 PMmammoth-camera-93119
08/14/2023, 4:50 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 4:51 PMmammoth-camera-93119
08/14/2023, 4:51 PMmammoth-camera-93119
08/14/2023, 4:51 PMmammoth-camera-93119
08/14/2023, 4:57 PMmammoth-camera-93119
08/14/2023, 5:00 PMmammoth-camera-93119
08/14/2023, 5:14 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 5:15 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 5:19 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 6:06 PMlittle-author-61621
mammoth-camera-93119
08/14/2023, 6:08 PM