From 1bf578496bcbaf0d4af607209fea9374f4a1cb12 Mon Sep 17 00:00:00 2001 From: bobbyiliev Date: Thu, 10 Sep 2026 16:21:08 +0300 Subject: [PATCH] ci: disable RDS automated backups in the temporary Terraform test roots --- test/terraform/aws-temporary/main.tf | 6 ++++++ test/terraform/aws-upgrade/main.tf | 6 ++++++ 2 files changed, 12 insertions(+) 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,