Skip to content

Commit 25f38ef

Browse files
PRMT-462- testing terraform
1 parent 0a8d158 commit 25f38ef

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

infrastructure/iam.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ data "aws_iam_policy_document" "lambda_toggle_bulk_upload_document" {
187187

188188
resources = [
189189
aws_lambda_event_source_mapping.bulk_upload_lambda.arn
190+
# aws_lambda_event_source_mapping.bulk_upload_esm.arn
190191
]
191192
}
192193
}

infrastructure/lambda-bulk-upload.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module "bulk-upload-lambda" {
5656
}
5757

5858
resource "aws_lambda_event_source_mapping" "bulk_upload_lambda" {
59+
# resource "aws_lambda_event_source_mapping" "bulk_upload_esm" {
5960
event_source_arn = module.sqs-lg-bulk-upload-metadata-queue.sqs_arn
6061
function_name = module.bulk-upload-lambda.lambda_arn
6162
enabled = false # Disabled by default; toggle-bulk-upload-lambda will control

infrastructure/lambda-toggle-bulk-upload.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module "toggle-bulk-upload-lambda" {
1111

1212
lambda_environment_variables = {
1313
ESM_UUID = aws_lambda_event_source_mapping.bulk_upload_lambda.uuid
14+
# ESM_UUID = aws_lambda_event_source_mapping.bulk_upload_esm.uuid
1415
}
1516

1617
is_gateway_integration_needed = false

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)