diff --git a/website/source/docs/providers/aws/r/sns_topic.html.markdown b/website/source/docs/providers/aws/r/sns_topic.html.markdown new file mode 100644 index 000000000000..df708541db60 --- /dev/null +++ b/website/source/docs/providers/aws/r/sns_topic.html.markdown @@ -0,0 +1,32 @@ +--- +layout: "aws" +page_title: "AWS: aws_sns_topic" +sidebar_current: "docs-aws-resource-sns-topic" +description: |- + Provides an SNS topic +--- + +# aws\_sns\_topic + +Provides an SNS topic. + +## Example Usage + +``` +resource "aws_sns_topic" "topic" { + name = "topic" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `name` - (Required) The SNS topic's name. + +## Attribute Reference + +The following attributes are exported: + +* `name` - The name of the topic. +* `arn` - The ARN assigned by AWS to this topic. diff --git a/website/source/layouts/aws.erb b/website/source/layouts/aws.erb index bb644a0bbcf5..044d708b5d5f 100644 --- a/website/source/layouts/aws.erb +++ b/website/source/layouts/aws.erb @@ -140,6 +140,10 @@ aws_security_group_rule + > + aws_sns_topic + + > aws_subnet