File tree Expand file tree Collapse file tree 3 files changed +5
-22
lines changed
account-wide-infrastructure/modules/glue
infrastructure/modules/firehose Expand file tree Collapse file tree 3 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 11locals {
22 s3 = {
3- transition_storage = {
4- infrequent_access = {
5- storage_class = " STANDARD_IA"
6- days = 150
7- }
8- glacier = {
9- storage_class = " GLACIER"
10- days = 200
11- }
12- }
13-
143 expiration = {
15- days = 1095
4+ days = 1
165 }
176 }
187}
Original file line number Diff line number Diff line change @@ -59,14 +59,6 @@ resource "aws_s3_bucket_lifecycle_configuration" "source-data-bucket-lifecycle"
5959 id = " bucket-versioning-rule"
6060 status = " Enabled"
6161
62- transition {
63- days = local. s3 . transition_storage . infrequent_access . days
64- storage_class = local. s3 . transition_storage . infrequent_access . storage_class
65- }
66- transition {
67- days = local. s3 . transition_storage . glacier . days
68- storage_class = local. s3 . transition_storage . glacier . storage_class
69- }
7062 expiration {
7163 days = local. s3 . expiration . days
7264 }
Original file line number Diff line number Diff line change @@ -63,8 +63,10 @@ resource "aws_kinesis_firehose_delivery_stream" "reporting_stream" {
6363 destination = " extended_s3"
6464
6565 extended_s3_configuration {
66- role_arn = aws_iam_role. firehose . arn
67- bucket_arn = var. reporting_bucket_arn
66+ role_arn = aws_iam_role. firehose . arn
67+ bucket_arn = var. reporting_bucket_arn
68+ buffering_size = 64
69+ buffering_interval = 600
6870
6971 processing_configuration {
7072 enabled = " true"
You can’t perform that action at this time.
0 commit comments