File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ data "aws_iam_policy_document" "lambda_toggle_bulk_upload_document" {
183183 ]
184184
185185 resources = [
186- aws_lambda_event_source_mapping . bulk_upload_esm . arn
186+ aws_lambda_event_source_mapping . bulk_upload_lambda . arn
187187 ]
188188 }
189189}
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ module "bulk-upload-lambda" {
5555 ]
5656}
5757
58- resource "aws_lambda_event_source_mapping" "bulk_upload_esm " {
58+ resource "aws_lambda_event_source_mapping" "bulk_upload_lambda " {
5959 event_source_arn = module. sqs-lg-bulk-upload-metadata-queue . sqs_arn
6060 function_name = module. bulk-upload-lambda . lambda_arn
61- enabled = false # Disabled by default; scheduler lambda will control
61+ enabled = false # Disabled by default; toggle-bulk-upload- lambda will control
6262 batch_size = 10
6363 scaling_config {
6464 maximum_concurrency = local. bulk_upload_lambda_concurrent_limit
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module "toggle-bulk-upload-lambda" {
1010 ]
1111
1212 lambda_environment_variables = {
13- ESM_UUID = aws_lambda_event_source_mapping.bulk_upload_esm .uuid
13+ ESM_UUID = aws_lambda_event_source_mapping.bulk_upload_lambda .uuid
1414 }
1515
1616 is_gateway_integration_needed = false
You can’t perform that action at this time.
0 commit comments