diff --git a/test/terraform/aws-temporary/main.tf b/test/terraform/aws-temporary/main.tf index faf8c0cb3af32..b1755ecc5795c 100644 --- a/test/terraform/aws-temporary/main.tf +++ b/test/terraform/aws-temporary/main.tf @@ -272,6 +272,12 @@ module "database" { node_security_group_id = module.eks.node_security_group_id tags = var.tags + # A throwaway test database needs no point-in-time recovery, and the module + # default of 7 days makes every teardown wait on deleting a week of automated + # backups: nightly 18272's destroy was still on the RDS instance after 55 + # minutes against a 90 minute step budget. + backup_retention_period = 0 + depends_on = [ module.eks, module.networking, diff --git a/test/terraform/aws-upgrade/main.tf b/test/terraform/aws-upgrade/main.tf index faf8c0cb3af32..b1755ecc5795c 100644 --- a/test/terraform/aws-upgrade/main.tf +++ b/test/terraform/aws-upgrade/main.tf @@ -272,6 +272,12 @@ module "database" { node_security_group_id = module.eks.node_security_group_id tags = var.tags + # A throwaway test database needs no point-in-time recovery, and the module + # default of 7 days makes every teardown wait on deleting a week of automated + # backups: nightly 18272's destroy was still on the RDS instance after 55 + # minutes against a 90 minute step budget. + backup_retention_period = 0 + depends_on = [ module.eks, module.networking,