Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prevent_destroy lifecycle meta-argument to all stateful resources #184

Open
6 of 7 tasks
hknutsen opened this issue Sep 17, 2024 · 1 comment
Open
6 of 7 tasks
Assignees
Labels
enhancement New feature or request

Comments

@hknutsen
Copy link
Member

hknutsen commented Sep 17, 2024

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

resource "azurerm_key_vault" "this" {
  lifecycle {
    # Prevent accidental destroy of Key Vault.
    prevent_destroy = true
  }
}
@hknutsen hknutsen added the enhancement New feature or request label Sep 17, 2024
@hknutsen hknutsen changed the title Add prevent_destroy lfiecycle meta-argument to all stateful resources Add prevent_destroy lifecycle meta-argument to all stateful resources Sep 17, 2024
@hknutsen hknutsen self-assigned this Sep 17, 2024
@hknutsen
Copy link
Member Author

Putting on hold until #177 has been closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant