vars.tf 1009 B

12345678910111213141516171819202122232425262728293031323334353637
  1. variable "source_sqs_arn" {
  2. type = string
  3. description = "ARN of the source SQS queue"
  4. }
  5. variable "source_sqs_url" {
  6. type = string
  7. description = "URL of the source SQS queue"
  8. }
  9. variable "lambda_timeout" {
  10. type = number
  11. description = "Lambda timeout must be less than or equal to the Visiblity timeout of the source SQS queue."
  12. }
  13. variable "sqs_prefix" {
  14. type = string
  15. description = "Prefix for the fair-queued queues"
  16. }
  17. variable "hash_jsonpath" {
  18. 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."
  19. type = string
  20. default = "$"
  21. }
  22. variable "num_queues" {
  23. type = number
  24. description = "How many fair queues to create."
  25. default = 16
  26. }
  27. variable "tags" {
  28. type = map(any)
  29. description = "Tags to apply to resources."
  30. default = {}
  31. }