Skip to content

Commit

Permalink
Merge pull request #1492 from alphagov/increase-db-backup-lifetimes
Browse files Browse the repository at this point in the history
Increase lifetime of non-prod db backups
  • Loading branch information
theseanything authored Nov 1, 2024
2 parents 23d1f2b + 10ed290 commit f68b233
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "backup_main" {
id = "non-production"
status = var.govuk_environment != "production" ? "Enabled" : "Disabled"
filter {}
expiration { days = 2 }
expiration { days = 8 }
noncurrent_version_expiration { noncurrent_days = 1 }
}
}
Expand Down

0 comments on commit f68b233

Please sign in to comment.