Skip to content

generate_projects does not respect Terragrunt dependency order #924

Open
@ZIJ

Description

@ZIJ

If there are dependencies across auto-generated terragrunt projects, e.g. apps depend on VPC, then Digger does not run them in the correct order. The order of execution appears to be random or alphabetical. Likely a bug in terragrunt-atlantis-config lib that is used under the hood.

Workaround: use explicit project definition with terragrunt: true and depends_on: ["vpc", "rds"] options. Not ideal as it leads to duplication of dependency declarations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions