gruntwork-io / gruntwork-io/pre-commit

terragrunt validate - issues with root terragrunt.hcl

Open
#40 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
547
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Failures in root terragrunt.hcl terragrunt validate.
Consider the following dir structure

```
├── dev
│   └── eu-west-1
│   └── project
│   └── terragrunt.hcl
└── terragrunt.hcl
└── common.hcl
```

Where the child includes the parent via `find_in_parent_folders()`.

If the parent has many `read_terraform_config(find_in_parent_folders("common.hcl"))` type includes it will fail when terragrunt validate runs against it in singular. As the dir traversal fails to find the file.

Anything that can be done about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.