From 822e279dcb186790ba4329fc33918ae71fb195e3 Mon Sep 17 00:00:00 2001 From: Christopher Tiwald Date: Wed, 13 May 2015 16:11:15 -0400 Subject: [PATCH] aws: Add documentation around aws_sns_topic. --- .../providers/aws/r/sns_topic.html.markdown | 32 +++++++++++++++++++ website/source/layouts/aws.erb | 4 +++ 2 files changed, 36 insertions(+) create mode 100644 website/source/docs/providers/aws/r/sns_topic.html.markdown 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