Terragrunt: Add "prevent destroy" to Terragrunt

Created on 15 Jun 2018  路  1Comment  路  Source: gruntwork-io/terragrunt

Terragrunt should support a prevent_destroy flag that, if set to true, will prevent terraform destroy from being executed. This is useful for modules you want to carefully protect, such as a database, or a module that provides auth (which isn't a "dependency" of other modules, but if you delete it, you won't be able to access anything else!).

terragrunt = {
  prevent_destroy = true
}
enhancement help wanted

Most helpful comment

Added in #525.

>All comments

Added in #525.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozbillwang picture ozbillwang  路  3Comments

Tensho picture Tensho  路  3Comments

jtai-omniex picture jtai-omniex  路  3Comments

shaharmor picture shaharmor  路  3Comments

dmlemos picture dmlemos  路  3Comments