Skip to content

Commit 24f2163

Browse files
PRMDR-442 enable intelligent tiering
1 parent b061fde commit 24f2163

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

infrastructure/buckets.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ resource "aws_s3_bucket_lifecycle_configuration" "lg-lifecycle-rules" {
108108
}
109109
}
110110
}
111+
rule {
112+
id = "default-to-intelligent-tiering"
113+
status = "Enabled"
114+
transition {
115+
storage_class = "INTELLIGENT_TIERING"
116+
}
117+
}
111118
}
112119

113120
resource "aws_s3_bucket_lifecycle_configuration" "doc-store-lifecycle-rules" {
@@ -142,6 +149,13 @@ resource "aws_s3_bucket_lifecycle_configuration" "doc-store-lifecycle-rules" {
142149
}
143150
}
144151
}
152+
rule {
153+
id = "default-to-intelligent-tiering"
154+
status = "Enabled"
155+
transition {
156+
storage_class = "INTELLIGENT_TIERING"
157+
}
158+
}
145159
}
146160

147161
# Staging Bucket for bulk uploads

infrastructure/modules/s3/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "aws_iam_policy" "s3_document_data_policy" {
2727
"s3:GetObjectVersionAcl",
2828
"s3:GetObjectTagging",
2929
"s3:PutObjectTagging",
30-
"s3:GetObjectVersion"
30+
"s3:GetObjectVersion",
3131
],
3232
"Resource" : ["${aws_s3_bucket.bucket.arn}/*", "${aws_s3_bucket.bucket.arn}/*"]
3333
}

0 commit comments

Comments
 (0)