Skip to content

Add --disable-dependency-prompt flag to terragrunt scaffold #4419

Open
@markoeremija

Description

@markoeremija

Describe the enhancement

When running terragrunt scaffold command, the user always gets prompted to answer whether the boilerplate will be run for base and leaf file templates or not:

This boilerplate template has a dependency! Run boilerplate on dependency base with template folder ../.boilerplate-files/base-file and output folder {{ .baseFilePath }}? (y/n) : y

The --disable-dependency-prompt flag is already made available in the boilerplate package. The enhancement would in this case mean the flag is made available when running terragrunt scaffold.

Additional context

If there are base and leaf file boilerplate templates, the user will most likely want to use them, hence the idea of adding the --disable-dependency-prompt. Setting its default value to false will also mean the flag stays transparent for the users and they can changed it when needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpreservedPreserved issues never go stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions