Created
August 19, 2023 04:44
-
-
Save Firefishy/d379468201dfc9a16928abb8e60a6570 to your computer and use it in GitHub Desktop.
git-commit-to reduce openstreetmap-wal storage
This file contains 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
commit a6403c3f928dcb4c21a19e0e4df0263cfb7184b6 | |
Author: Grant Slater <REMOVED> | |
Date: Wed Aug 16 23:13:18 2023 +0100 | |
[...] | |
resource "aws_s3_bucket_lifecycle_configuration" "openstreetmap-wal_lifecycle" { | |
provider = aws.london | |
bucket = aws_s3_bucket.openstreetmap-wal.id | |
rule { | |
id = "Lifecycle Rule" | |
status = "Enabled" | |
abort_incomplete_multipart_upload { | |
days_after_initiation = 7 | |
} | |
expiration { | |
- days = 545 | |
+ days = 366 | |
expired_object_delete_marker = false | |
} | |
filter { | |
object_size_greater_than = null | |
object_size_less_than = null | |
prefix = null | |
} | |
noncurrent_version_expiration { | |
noncurrent_days = 7 | |
} | |
transition { | |
- days = 30 | |
- storage_class = "STANDARD_IA" | |
+ days = 7 | |
+ storage_class = "INTELLIGENT_TIERING" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change summary: