Skip to content

Strict control "deprecated-configs" warns incorrectly #5293

@davidorlea

Description

@davidorlea

Describe the bug

The documentation of the strict control "deprecated-configs" (https://terragrunt.gruntwork.io/docs/reference/strict-controls/#deprecated-configs) reads:

"Throw an error when using the deprecated Terragrunt configuration."

However, when setting the strict control "deprecated-configs" I get a warning:

The following strict control(s) are already completed: require-explicit-bootstrap, skip-dependencies-inputs. Please remove any completed strict controls, as setting them no longer does anything. For a list of all ongoing strict controls, and the outcomes of previous strict controls, see https://terragrunt.gruntwork.io/docs/reference/strict-mode or get the actual list by running the terragrunt info strict command.

This is somehow contradictory, as I would except the strict control to actually ensure certain controls are not set, i.e. because they are already completed.

Reproducing bugs

TG_STRICT_CONTROL=deprecated-configs terragrunt plan

Expected behavior

Setting the strict control "deprecated-configs" only warns, if require-explicit-bootstrap or skip-dependencies-inputs are set explicitly.

Versions

  • Terragrunt version: v0.96.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions