Skip to content

Simple TF module for provisioning an SQS queue, a DLQ, a redrive policy, and attaches basic permissions to a provided IAM role

License

Notifications You must be signed in to change notification settings

kraig-mcfadden/terraform-aws-sqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-sqs

Simple TF module for provisioning an SQS queue, a DLQ, a redrive policy, and attaches basic permissions to a provided IAM role.

Requirements

Name Version
terraform >= 1
aws >= 5

Providers

Name Version
aws >= 5

Modules

No modules.

Resources

Name Type
aws_iam_policy.queue_access_policy resource
aws_sqs_queue.dlq resource
aws_sqs_queue.queue resource
aws_sqs_queue_redrive_allow_policy.dlq_redrive_allow_policy resource
aws_iam_policy_document.queue_access_policy_doc data source

Inputs

Name Description Type Default Required
dlq_message_retention_seconds How long a message can live on the dlq before being automatically deleted number 1209600 no
encrypt_at_rest Whether messages should be encrypted on the queue bool true no
max_receive_count Number of times a message can go back on the queue before being DLQ'd number 5 no
queue_message_retention_seconds How long a message can live on the queue before being automatically deleted number 345600 no
queue_name What you want this queue to be called string n/a yes
receive_wait_time_seconds How long a connection should linger if there are no messages. Max 20. number 20 no
visbility_timeout_seconds How long before a message is visible again on the queue if it's not deleted after receiving number 30 no

Outputs

Name Description
dlq_arn n/a
dlq_id n/a
dlq_url n/a
queue_access_policy_arn n/a
queue_arn n/a
queue_id n/a
queue_url n/a

About

Simple TF module for provisioning an SQS queue, a DLQ, a redrive policy, and attaches basic permissions to a provided IAM role

Resources

License

Stars

Watchers

Forks

Packages

No packages published