generated from production-ready-toolkit/terraform-module-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
96 lines (81 loc) · 2.66 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
variable "name" {
type = string
description = "SQS identifier queue identifier"
}
variable "fifo" {
type = bool
description = "Boolean designating a FIFO queue."
default = false
}
variable "fifo_deduplication_scope" {
type = string
description = "Specifies whether message deduplication occurs at the message group or queue level."
default = "messageGroup"
}
variable "fifo_throughput_limit" {
type = string
description = "Specifies whether the FIFO queue throughput quota applies to the entire queue or per message group."
default = "perMessageGroupId"
}
variable "max_retry" {
type = number
default = 3
}
variable "max_message_size" {
type = number
default = 262144
}
variable "visibility_timeout" {
type = number
description = "Timeout to non/ack messages return to queue to be resconsumed"
default = 60
}
variable "visibility_timeout_dlq" {
type = number
description = "Timeout to non/ack messages return to queue to be resconsumed"
default = 180
}
variable "expiration_time_seconds" {
type = number
description = "The number of seconds Amazon SQS retains a message. Integer representing seconds"
default = 86400
}
variable "expiration_time_seconds_dlq" {
type = number
description = "The number of seconds Amazon SQS retains a message. Integer representing seconds"
default = 1209600
}
variable "delay" {
type = number
description = "The time in seconds that the delivery of all messages in the queue will be delayed"
default = 0
}
variable "delay_dlq" {
type = number
description = "The time in seconds that the delivery of all messages in the queue will be delayed"
default = 900
}
variable "receive_wait_time_seconds" {
type = number
description = "The time for which a ReceiveMessage call will wait for a message to arrive; Optimized to long polling"
default = 20
}
variable "receive_wait_time_seconds_dlq" {
type = number
description = "The time for which a ReceiveMessage call will wait for a message to arrive; Optimized to long polling"
default = 20
}
variable "kms_key" {
description = "The ARN of the key that you wish to use if encrypting at rest"
type = string
default = ""
}
variable "kms_cache_time" {
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"
type = number
default = 3600
}
variable "tags" {
type = map(any)
default = {}
}