Skip to content

Commit 343dee4

Browse files
committed
fix: transition S3 objects to GLACIER only
1 parent 9aef4a9 commit 343dee4

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

main.tf

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -222,24 +222,11 @@ module "logs_bucket" {
222222
noncurrent_version_transition = [{
223223
noncurrent_days = 30
224224
storage_class = "GLACIER"
225-
},
226-
{
227-
noncurrent_days = 0
228-
storage_class = "DEEP_ARCHIVE"
229-
}]
225+
}, ]
230226
transition = [{
231-
days = 30
232-
storage_class = "STANDARD_IA"
233-
},
234-
{
235-
days = 90
236-
storage_class = "GLACIER"
237-
},
238-
{
239-
days = 0
240-
storage_class = "DEEP_ARCHIVE"
241-
242-
}]
227+
days = 90
228+
storage_class = "GLACIER"
229+
}, ]
243230
}]
244231
}
245232

0 commit comments

Comments
 (0)