Skip to content

Commit 29cd43f

Browse files
PRMT-462- cleaned code
1 parent ad71f9d commit 29cd43f

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

infrastructure/lambda-bulk-upload.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ resource "aws_lambda_event_source_mapping" "bulk_upload_esm" {
6464
maximum_concurrency = local.bulk_upload_lambda_concurrent_limit
6565
}
6666

67-
# resource "aws_lambda_event_source_mapping" "bulk_upload_lambda" {
68-
# event_source_arn = module.sqs-lg-bulk-upload-metadata-queue.endpoint
69-
# function_name = module.bulk-upload-lambda.lambda_arn
70-
#
71-
# scaling_config {
72-
# maximum_concurrency = local.bulk_upload_lambda_concurrent_limit
73-
# }
74-
7567
depends_on = [
7668
module.bulk-upload-lambda,
7769
module.sqs-lg-bulk-upload-metadata-queue

infrastructure/lambda-toggle-bulk-upload.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ module "toggle-bulk-upload-lambda" {
55
lambda_timeout = 60
66
memory_size = 128
77

8-
# iam_role_policy_documents = [
9-
# aws_iam_policy.lambda_toggle_bulk_upload_policy.arn
10-
# ]
118
iam_role_policy_documents = [
129
data.aws_iam_policy_document.lambda_toggle_bulk_upload_document.json
1310
]

infrastructure/modules/lambda/variable.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,4 @@ variable "default_policies" {
7979
"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole",
8080
"arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy"
8181
]
82-
}
83-
82+
}

0 commit comments

Comments
 (0)