Force immediate destruction of secrets to facilitate spin up/bring down
resource "aws_secretsmanager_secret" "secret" {
name = "wrongsecret"
+ recovery_window_in_days = 0
}
resource "aws_secretsmanager_secret_version" "secret" {
@@ -47,6 +48,7 @@ POLICY
resource "aws_secretsmanager_secret" "secret_2" {
name = "wrongsecret-2"
+ recovery_window_in_days = 0
}
resource "aws_secretsmanager_secret_policy" "policy_2" {
