Simple TF module for provisioning an SQS queue, a DLQ, a redrive policy, and attaches basic permissions to a provided IAM role.
Name | Version |
---|---|
terraform | >= 1 |
aws | >= 5 |
Name | Version |
---|---|
aws | >= 5 |
No modules.
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 |
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 |
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 |