Flexible Terraform module to create an SQS queue with optional deadletter queue and cloudwatch monitoring for deadlead letter messages
Name | Version |
---|---|
aws | n/a |
Name | Type |
---|---|
aws_cloudwatch_metric_alarm.this_deadletter | resource |
aws_kms_alias.this | resource |
aws_kms_key.this | resource |
aws_sqs_queue.this | resource |
aws_sqs_queue.this_deadletter | resource |
aws_iam_policy_document.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
name | Name to use for resources created by this module | string |
n/a | yes |
alarm_actions | List of alarm action endpoints | list(string) |
[] |
no |
alarm_description | Description to use for the deadletter monitor | string |
"Monitors for messages sent to a deadletter queue." |
no |
alarm_name | Description to use for the deadletter monitor | string |
"deadletter-alarm" |
no |
enable_actions | Should we enable alarm actions? | bool |
false |
no |
max_receive_count | Number of times a message can be re-received | number |
5 |
no |
message_retention_seconds | Number of seconds for message retention | number |
86400 |
no |
message_retention_seconds_deadletter | Number of seconds for message retention of deadletter messages | number |
345600 |
no |
receive_wait_time_seconds | Number of seconds for receive wait time | number |
10 |
no |
tags | Map of strings for tags to apply to resources created by this module | map(string) |
{} |
no |
use_cmk | Should we use a Customer Managed Key for envelope encryption? | bool |
true |
no |
visibility_timeout_seconds | Number of seconds for message visibility timeout | number |
180 |
no |
Name | Description |
---|---|
cloudwatch_alarm_arn | n/a |
cloudwatch_alarm_id | n/a |
kms_key_alias_name | n/a |
kms_key_id | n/a |
sqs_deadletter_queue_arn | n/a |
sqs_deadletter_queue_id | n/a |
sqs_queue_arn | n/a |
sqs_queue_id | n/a |