Open hknutsen opened 2 months ago
all modules containing stateful resources
Add prevent_destroy lifecycle meta-argument to all stateful resources to prevent accidental loss of data.
prevent_destroy
The following modules have been identified as containing stateful resources:
resource "azurerm_key_vault" "this" { lifecycle { # Prevent accidental destroy of Key Vault. prevent_destroy = true } }
Putting on hold until #177 has been closed.
Module Name
all modules containing stateful resources
Description
Add
prevent_destroy
lifecycle meta-argument to all stateful resources to prevent accidental loss of data.The following modules have been identified as containing stateful resources:
Example Terraform Configuration