Skip to content

TechHoldingLLC/terraform-aws-sqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Name Version
terraform >= 1.0
aws >= 4.5

Providers

Name Version
aws >= 4.5

Modules

No modules.

Resources

Name Type
aws_lambda_event_source_mapping.sqs_lambda resource
aws_sqs_queue.sqs resource
aws_sqs_queue.sqs_dlq resource

Inputs

Name Description Type Default Required
batch_size The largest number of records that Lambda will retrieve from event source at the time of invocation number 10 no
content_based_deduplication Content based deduplication bool false no
deduplication_scope Specifies whether message deduplication occurs at the message group or queue level string null no
delay_seconds The duration for which the message will be delayed before it can be consumed after being added to the queue number 0 no
dlq Enable DLQ bool false no
dlq_message_retention_seconds The duration for which a message won't be available for another consumer (So if a message processing fails, this is a time it will take for it to be consumed again) number 1209600 no
dlq_redrive_policy_max_receive_count DLQ redrive policy max receive count number 5 no
dlq_visibility_timeout_seconds The duration for which a message will be retained in the queue number 30 no
fifo_queue Enable FIFO bool false no
lambda_function_arn Lambda function arn string "" no
maximum_concurrency Limits the number of concurrent instances that the Amazon SQS event source can invoke number 10 no
message_retention_seconds The duration for which a message will be retained in the queue number 86400 no
name Name of SNS and SQS any n/a yes
receive_wait_time_seconds The time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning number 0 no
sqs_managed_sse_enabled Server side encryption bool true no
tags Tag map {} no
trigger_lambda_function Lambda function arn that trigger from SQS bool false no
visibility_timeout_seconds Msg visibility timeout number 30 no

Outputs

Name Description
arn n/a
dlq_name n/a
id n/a
name n/a
url n/a

License

Apache 2 Licensed. See LICENSE for full details.