Skip to content

Allow deprecation of a module #5949

@radeksimko

Description

@radeksimko

Since modules can become a critical part of an application/infrastructure and there can be more users using them than is the other capable of tracking it would be useful to have a mechanisms of deprecating a module.

Essentially I'm thinking of something like this:

deprecated {
  message = "This module is deprecated, see alternative at github.com/.../..."
}

which could cause terraform get (and possibly apply) to display predefined message in the terminal

WARN: This module is deprecated, see alternative at github.com/.../...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions