Terraform resorce: aws sqs queue

From wikieduonline
(Redirected from Aws sqs queue)
Jump to navigation Jump to search


Official example[edit]

resource "aws_sqs_queue" "terraform_queue" {
 name                      = "terraform-example-queue"
 delay_seconds             = 90
 max_message_size          = 2048
 message_retention_seconds = 86400
 receive_wait_time_seconds = 10
 redrive_policy = jsonencode({
   deadLetterTargetArn = aws_sqs_queue.terraform_queue_deadletter.arn
   maxReceiveCount     = 4
 })

 tags = {
   Environment = "production"
 }
}

Related[edit]

See also[edit]

Advertising: