- Platform Services
Creates AWS SQS queues
Name | Version |
---|---|
terraform | ~> 1.0 |
aws | >= 3.0 |
Name | Version |
---|---|
aws | >= 3.0 |
Name | Source | Version |
---|---|---|
sqs | terraform-aws-modules/sqs/aws | 3.1.0 |
sqs_dl | terraform-aws-modules/sqs/aws | 2.1.0 |
Name | Type |
---|---|
aws_kms_alias.sqs | resource |
aws_kms_key.sqs | resource |
aws_caller_identity.current | data source |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
content_based_deduplication | Enables content-based deduplication for FIFO queues | bool |
false |
no |
create_deadletter_queues | Boolean for creating deadletter queues | bool |
true |
no |
customer_master_key_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC_DEFAULT, RSA_2048, RSA_3072, RSA_4096, ECC_NIST_P256, ECC_NIST_P384, ECC_NIST_P521, or ECC_SECG_P256K1 | string |
"SYMMETRIC_DEFAULT" |
no |
deadletter_max_receive_count | n/a | number |
4 |
no |
delay_seconds | The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 | number |
90 |
no |
enable_key_rotation | Specifies whether key rotation is enabled | bool |
true |
no |
encrypt_sqs | If master key is not provided a AWS managed key will be created | bool |
false |
no |
environment | n/a | any |
n/a | yes |
fifo_queue | Boolean designating a FIFO queue default | bool |
false |
no |
key_usage | Specifies the intended use of the key. Valid values: ENCRYPT_DECRYPT or SIGN_VERIFY | string |
"ENCRYPT_DECRYPT" |
no |
kms_data_key_reuse_period_seconds | The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. An integer representing seconds, between 60 seconds (1 minute) and 86,400 seconds (24 hours) | number |
300 |
no |
kms_deletion_window_in_days | Duration in days after which the key is deleted after destruction of the resource, must be between 7 and 30 days | number |
30 |
no |
kms_master_key_id | The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information | string |
"" |
no |
kms_policy | A valid policy JSON document | string |
"" |
no |
max_message_size | The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB) | number |
2048 |
no |
message_retention_seconds | The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days) | number |
86400 |
no |
name_prefix | n/a | any |
n/a | yes |
policy | The JSON policy for the SQS queue | string |
"" |
no |
queue_names | SQS | list(any) |
[ |
no |
receive_wait_time_seconds | The time for which a ReceiveMessage call will wait for a message to arrive (long polling) before returning. An integer from 0 to 20 (seconds) | number |
10 |
no |
redrive_policy | The JSON policy to set up the Dead Letter Queue, see AWS docs. Note: when specifying maxReceiveCount, you must specify it as an integer (5), and not a string ("5") | string |
"" |
no |
region | n/a | string |
"eu-west-1" |
no |
tags | n/a | map(any) |
n/a | yes |
visibility_timeout_seconds | The visibility timeout for the queue. An integer from 0 to 43200 (12 hours) | number |
30 |
no |
Name | Description |
---|---|
queue_arns | n/a |
queue_ids | n/a |
queue_names | n/a |