» Data Source: aws_sqs_queue

Use this data source to get the ARN and URL of queue in AWS Simple Queue Service (SQS). By using this data source, you can reference SQS queues without having to hardcode the ARNs as input.

» Example Usage

data "aws_sqs_queue" "example" {
  name = "queue"

» Argument Reference

  • name - (Required) The name of the queue to match.

» Attributes Reference

  • arn - The Amazon Resource Name (ARN) of the queue.
  • url - The URL of the queue.