diff --git a/terraform/main.tf b/terraform/main.tf index 5e328b8..f9974b5 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -273,6 +273,9 @@ resource "aws_db_instance" "authentication_db" { resource "aws_secretsmanager_secret" "db_secret" { name = "${var.db_name}-${var.infra_env}-secret" + recovery_window_in_days = 0 + force_overwrite_replica_secret = true + tags = { "Environment" = var.infra_env "Name" = "${var.db_name}-${var.infra_env}-secret"