Skip to content

Commit

Permalink
disable sqs lambda event source mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke-hackit committed Oct 16, 2023
1 parent 3cd824d commit 34bd21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/db-snapshot-to-s3/25-rds-to-s3-queue.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ resource "aws_sns_topic_subscription" "subscribe_sqs_to_sns_topic" {

resource "aws_lambda_event_source_mapping" "event_source_mapping" {
event_source_arn = aws_sqs_queue.rds_snapshot_to_s3.arn
enabled = true
enabled = false
function_name = aws_lambda_function.rds_snapshot_to_s3_lambda.arn
batch_size = 1
}

0 comments on commit 34bd21f

Please sign in to comment.