How do I enable deletion protection on resources with Terragrunt and infrastructure-live/Reference Architecture #629
-
I understand I can use things like CODEOWNERS at the repo level, and prevent_destroy at the Terraform resource level, but is there a Terragrunt mechanism that I can use at the module level? For example, a way to make sure I am considering setting up Gruntwork Pipelines following this Knowledge Base answer as well if there is a path there, but I'd like to know if there is a native Terragrunt way to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, there is an attribute for that: https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#prevent_destroy |
Beta Was this translation helpful? Give feedback.
Yes, there is an attribute for that: https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#prevent_destroy