terraform-aws-sqs
Terraform module for creating SQS queue.
Requirements
Name |
Version |
terraform |
>= 0.12 |
Providers
Modules
No Modules.
Resources
Inputs
Name |
Description |
Type |
Default |
Required |
append_workspace |
Appends the terraform workspace at the end of resource names, - |
bool |
true |
no |
content_based_deduplication |
Enables content-based deduplication for FIFO queues |
bool |
false |
no |
dead_letter_queue |
set to ‘true’ to deploy a DeadLetterQueue |
bool |
false |
no |
delay_seconds |
The time in seconds that the delivery of all messages in the queue will be delayed |
number |
90 |
no |
fifo_queue |
Boolean designating a FIFO queue, defaults to a standard queue |
bool |
false |
no |
identifier |
The identifier for the resources |
string |
n/a |
yes |
kms_master_key_id |
The ID of an AWS-managed customer master key |
string |
"alias/aws/sqs" |
no |
max_message_size |
The limit of how many bytes a message can contain before Amazon SQS rejects it |
number |
2048 |
no |
max_receive_count |
Max number of times a message can be received before it gets put in the Dead Letter Queue |
number |
5 |
no |
message_retention_seconds |
The number of seconds Amazon SQS retains a message |
number |
345600 |
no |
message_retention_seconds_dlq |
The number of seconds Amazon SQS retains a message in the Dead Letter Queue |
number |
345600 |
no |
policy |
The JSON policy for the SQS queue |
string |
null |
no |
receive_wait_time_seconds |
The time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning |
number |
10 |
no |
tags |
Tags to be applied to the resource |
map |
{} |
no |
visibility_timeout_seconds |
The visibility timeout for the queue. An integer from 0 to 43200 (12 hours) |
number |
30 |
no |
Outputs
Name |
Description |
output |
n/a |
Contributing
If you want to contribute to this repository check all the guidelines specified here before submitting a new PR.