-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Describe the Feature
Please, add possibility to forcefully destroy the backup vault.
Add option force_destroy = var.backup_vault_force_destroy
Resource: aws_backup_vault
Expected Behavior
After passing the parameter backup_vault_force_destroy = true
to module the backup vault should be deleted.
Use Case
Forcefully destroy temporary vaults in test environments. Completely destroy any environment.
Describe Ideal Solution
Add parameter force_destroy = var.backup_vault_force_destroy
to block https://github.com/cloudposse/terraform-aws-backup/blob/main/main.tf#L25-L30.
Add default variable to https://github.com/cloudposse/terraform-aws-backup/blob/main/variables.tf like:
variable "backup_vault_force_destroy" {
type = bool
description = "Allow backup vault to be forcefully destroyed"
default = false
}
Alternatives Considered
Manual action needed to destroy vault from AWS Console
Additional Context
No response
Metadata
Metadata
Assignees
Labels
No labels