123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- variable "source_sqs" {
- type = object({
- arn = string
- url = string
- visibility_timeout_seconds = number
- message_retention_seconds = number
- max_message_size = number
- redrive_policy = string
- })
- description = "The aws_sqs_queue object of the source"
- }
- #variable "deadletter" {
- # type = object({
- # arn = string
- # url = string
- # })
- # description = "The deadletter queue. Redriving puts them back through the fair queueing."
- #
- variable "sqs_prefix" {
- type = string
- description = "Prefix for the fair-queued queues"
- }
- variable "hash_jsonpath" {
- description = "Hash the value at this JSONPath from the source message to determine the destination queue. NOTE: If this fails to locate a string, fails to parse, or is set to `$`, fair queueing will default to a random queue assignment."
- type = string
- default = "$"
- }
- variable "num_queues" {
- type = number
- description = "How many fair queues to create."
- default = 16
- }
- variable "debug" {
- type = bool
- description = "Enable debug logging"
- default = false
- }
- variable "botodebug" {
- type = bool
- description = "Enable BOTO3 debug logging"
- default = false
- }
- variable "tags" {
- type = map(any)
- description = "Tags to apply to resources."
- default = {}
- }
|