Skip to content

Commit 77db050

Browse files
[PRMP-939] fixed comments
1 parent 155b52b commit 77db050

File tree

3 files changed

+1
-55
lines changed

3 files changed

+1
-55
lines changed

infrastructure/lambda-report-s3-content.tf

Lines changed: 0 additions & 29 deletions
This file was deleted.

infrastructure/modules/ecs/task_iam.tf

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,31 +35,6 @@ resource "aws_iam_role_policy" "s3_access" {
3535
]
3636
Effect = "Allow"
3737
Resource = ["arn:aws:s3:::prod-${var.aws_region}-starport-layer-bucket/*"]
38-
},
39-
{
40-
Sid = "ListBucketVersionsForS3DataCollection"
41-
Action = [
42-
"s3:ListBucket",
43-
"s3:ListBucketVersions",
44-
"s3:GetBucketLocation"
45-
]
46-
Effect = "Allow"
47-
Resource = [
48-
"arn:aws:s3:::${terraform.workspace}-staging-bulk-store"
49-
]
50-
},
51-
{
52-
Sid = "ReadVersionedObjectsIfNeeded"
53-
Action = [
54-
"s3:GetObject",
55-
"s3:GetObjectVersion",
56-
"s3:GetObjectTagging",
57-
"s3:GetObjectVersionTagging"
58-
]
59-
Effect = "Allow"
60-
Resource = [
61-
"arn:aws:s3:::${terraform.workspace}-staging-bulk-store/*"
62-
]
6338
}
6439
]
6540
})

infrastructure/schedules.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ resource "aws_lambda_permission" "bulk_upload_report_schedule_permission" {
6060
resource "aws_scheduler_schedule" "data_collection_ecs" {
6161
count = local.is_sandbox ? 0 : 1
6262
name_prefix = "${terraform.workspace}_data_collection_ecs"
63-
description = "A weekly trigger for the data collection run"
63+
description = "A weekly trigger for the s3 data collection run"
6464

6565
flexible_time_window {
6666
mode = "OFF"

0 commit comments

Comments
 (0)