Data Source: aws_sns_topic

Use this data source to get the ARN of a topic in AWS Simple Notification Service (SNS). By using this data source, you can reference SNS topics without having to hard code the ARNs as input.

Example Usage

data "aws_sns_topic" "example" {
  name = "an_example_topic"
}

Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above: