File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff 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
113120resource "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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments