FEATURES PRICING ABOUT DOCS LOGIN

aws_sqs_queue

Example Usage

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 = "{\"deadLetterTargetArn\":\"${aws_sqs_queue.terraform_queue_deadletter.arn}\",\"maxReceiveCount\":4}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

SQS Queues can be imported using the queue url, e.g.

$ terraform import aws_sqs_queue.public_queue https://queue.amazonaws.com/80398EXAMPLE/MyQueue

See the source of this document at Terraform.io

REQUEST A DEMO