Skip to content

Commit

Permalink
fix terraform config
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jul 6, 2024
1 parent 0817cd3 commit d0028fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.

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

8 changes: 5 additions & 3 deletions terragrunt/modules/crates-io/s3-static.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ resource "aws_s3_bucket" "static" {
}
}

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

versioning {
enabled = false
abort_incomplete_multipart_upload_days = 1
noncurrent_version_expiration {
days = 1
}
}

Expand Down

0 comments on commit d0028fe

Please sign in to comment.