This repository has been archived by the owner on Jun 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
75 lines (60 loc) · 2.46 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
variable "is_dead_letter_queue" {
description = "Whether this should be created as dead-letter queue (means, no redrive policy)"
default = false
}
variable "queue_name_prefix" {
description = "A queue name prefix, typically name of team/project, eg: cpa-event"
}
variable "dead_letter_target_arn" {
description = "ARN of dead-letter queue to use as target for this queue (useful if dead-letter queue is in different AWS account)"
default = ""
}
variable "dead_letter_queue_name" {
description = "Name of dead-letter queue to use as target for this queue (useful if dead-letter queue is in the same AWS account)"
default = ""
}
variable "max_receive_count" {
description = "The number of times a message is delivered to the source queue before being moved to the dead-letter queue."
default = 50
}
###########################
variable "visibility_timeout_seconds" {
description = "The visibility timeout for the queue. An integer from 0 to 43200 (12 hours)"
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)"
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)"
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)"
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)"
default = 0
}
variable "policy" {
description = "The JSON policy for the SQS queue"
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\")"
default = ""
}
variable "fifo_queue" {
description = "Boolean designating a FIFO queue"
default = false
}
variable "content_based_deduplication" {
description = "Enables content-based deduplication for FIFO queues"
default = false
}
variable "tags" {
description = "A mapping of tags to assign to all resources"
default = {}
}