Skip to content

Commit 1b0bd8e

Browse files
VIA-433 AS/AJ Modify retention of forwarded logs
1 parent d70dc2e commit 1b0bd8e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

infrastructure/environments/prod/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ locals {
1212
prefix = "${local.deploy_workspace}-${local.project_identifier_shortcode}-${data.aws_caller_identity.current.account_id}"
1313
open_next_path = "../../../.open-next"
1414
node_version = "nodejs22.x"
15-
log_retention_in_days = 90
15+
log_retention_in_days = 30
1616
cache_lambda_zip_path = "../../../lambda.zip"
1717
content_cache_bucket_name = "${local.prefix}-content-cache"
1818
app_version = var.app_version

infrastructure/environments/test/test-github-iam-role-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@
221221
"s3:PutBucketPublicAccessBlock",
222222
"s3:PutBucketTagging",
223223
"s3:PutBucketVersioning",
224+
"s3:PutLifecycleConfiguration",
224225
"s3:PutObject",
225226
"secretsmanager:DescribeSecret",
226227
"secretsmanager:GetResourcePolicy",

infrastructure/github-iam-role-policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
"s3:PutBucketPublicAccessBlock",
148148
"s3:PutBucketTagging",
149149
"s3:PutBucketVersioning",
150+
"s3:PutLifecycleConfiguration",
150151
"s3:PutObject",
151152
"secretsmanager:DescribeSecret",
152153
"secretsmanager:GetResourcePolicy",

0 commit comments

Comments
 (0)