ci: disable RDS automated backups in the temporary Terraform test roots - #38741
Merged
bobbyiliev merged 1 commit intoSep 10, 2026
Merged
Conversation
bobbyiliev
marked this pull request as ready for review
September 10, 2026 13:23
ggevay
approved these changes
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two temporary AWS roots inherit the database module's
backup_retention_perioddefault of 7 days, so each run's throwaway RDS instance keeps a week of automated backups that its teardown then has to delete. Nightly 18272'sterraform destroywas still working on the RDS instance after 55 minutes against a 90 minute step budget, having taken 1m51s on 2026-08-24, and the step timed out with the cluster, VPC and KMS key still up.skip_final_snapshotwas already true, so the final snapshot was not the cause. Setting the retention to 0 disables automated backups, which a test database that lives for under an hour has no use for, and drops the backup storage they were accruing.aws-persistentis deliberately left alone: it is long-lived, so the trade-off there is not the same.Test plan
terraform validatepasses onaws-temporaryandterraform fmt -check -recursiveis clean. Whether it actually shortens the teardown shows up in the two AWS nightlies' destroy timings, which is also the only place the previous 55 minute run was visible.🤖 Generated with Claude Code