12345678910111213141516171819202122232425262728293031323334353637 |
- variable "source_sqs_arn" {
- type = string
- description = "ARN of the source SQS queue"
- }
- variable "source_sqs_url" {
- type = string
- description = "URL of the source SQS queue"
- }
- variable "lambda_timeout" {
- type = number
- description = "Lambda timeout must be less than or equal to the Visiblity timeout of the source SQS queue."
- }
- 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 "tags" {
- type = map(any)
- description = "Tags to apply to resources."
- default = {}
- }
|