Skip to content

Commit

Permalink
Merge branch 'master' into feat-crates-io-replicate-entire-bucket-in-…
Browse files Browse the repository at this point in the history
…fallback
  • Loading branch information
MarcoIeni authored Aug 5, 2024
2 parents d74a5f1 + 6a3f3e6 commit 7581526
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 46 deletions.
2 changes: 1 addition & 1 deletion terragrunt/accounts/legacy/crates-io-prod/deployed-ref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
73aff0e7a3e0d7cf94715a358b690682c7d6be5a
f6b400a403563fd233dcaa58cc63c05c6fd40550

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions terragrunt/modules/crates-io-downloads-archive/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions terragrunt/modules/crates-io-downloads-archive/main.tf

This file was deleted.

4 changes: 0 additions & 4 deletions terragrunt/modules/crates-io-downloads-archive/variables.tf

This file was deleted.

12 changes: 12 additions & 0 deletions terragrunt/modules/crates-io/s3-static.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ resource "aws_s3_bucket" "static" {
}
}

// Delete old RSS feeds as eagerly as possible, without deleting live ones.
lifecycle_rule {
id = "purge-old-rss-feeds"
enabled = true
prefix = "rss/"

abort_incomplete_multipart_upload_days = 1
noncurrent_version_expiration {
days = 1
}
}

lifecycle {
ignore_changes = [
replication_configuration,
Expand Down

0 comments on commit 7581526

Please sign in to comment.