This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
forked from terraform-aws-modules/terraform-aws-sqs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
107 lines (90 loc) · 3.31 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
variable "create" {
description = "Whether to create SQS queue"
type = bool
default = true
}
variable "name" {
description = "This is the human-readable name of the queue. If omitted, Terraform will assign a random name."
type = string
default = null
}
variable "name_prefix" {
description = "A unique name beginning with the specified prefix."
type = string
default = null
}
variable "visibility_timeout_seconds" {
description = "The visibility timeout for the queue. An integer from 0 to 43200 (12 hours)"
type = number
default = 30
}
variable "message_retention_seconds" {
description = "The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days)"
type = number
default = 345600
}
variable "max_message_size" {
description = "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)"
type = number
default = 262144
}
variable "delay_seconds" {
description = "The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes)"
type = number
default = 0
}
variable "receive_wait_time_seconds" {
description = "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)"
type = number
default = 0
}
variable "policy" {
description = "The JSON policy for the SQS queue"
type = string
default = ""
}
variable "redrive_policy" {
description = "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\")"
type = string
default = ""
}
variable "redrive_allow_policy" {
description = "The JSON policy to set up the Dead Letter Queue redrive permission, see AWS docs."
type = string
default = ""
}
variable "fifo_queue" {
description = "Boolean designating a FIFO queue"
type = bool
default = false
}
variable "content_based_deduplication" {
description = "Enables content-based deduplication for FIFO queues"
type = bool
default = false
}
variable "kms_master_key_id" {
description = "The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK"
type = string
default = null
}
variable "kms_data_key_reuse_period_seconds" {
description = "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)"
type = number
default = 300
}
variable "deduplication_scope" {
description = "Specifies whether message deduplication occurs at the message group or queue level"
type = string
default = null
}
variable "fifo_throughput_limit" {
description = "Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group"
type = string
default = null
}
variable "tags" {
description = "A mapping of tags to assign to all resources"
type = map(string)
default = {}
}