Skip to content

terragrunt_validate - fails for folders without terragrunt.hcl #191

Open
@mhennecke

Description

@mhennecke

Suppose a multi-tier project (dev,stage, prod, etc) where not every folder contains a terragrunt.hcl. Non-module folders will only contain hcl files with some "local" definitions which get inherited from the module folders, e.g.

base.hcl
- tier1
  tier.hcl
  module1
    terragrunt.hcl
- tier2
  tier.hcl
  module1
    terragrunt.hcl

In this setup, terragrunt_validate will fail in folders where it can't find a terragrunt.hcl.

Proposed solution:
Only run terragrunt validate in folders, which contain a terragrunt.hcl

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions