Skip to content

Commit

Permalink
aws: Add documentation around aws_sns_topic.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiwald committed May 13, 2015
1 parent 39df5d1 commit e23862a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
32 changes: 32 additions & 0 deletions website/source/docs/providers/aws/r/sns_topic.html.markdown
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 4 additions & 0 deletions website/source/layouts/aws.erb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
<a href="/docs/providers/aws/r/security_group_rule.html">aws_security_group_rule</a>
</li>

<li<%= sidebar_current("docs-aws-resource-sns-topic") %>>
<a href="/docs/providers/aws/r/sns_topic.html">aws_sns_topic</a>
</li>

<li<%= sidebar_current("docs-aws-resource-subnet") %>>
<a href="/docs/providers/aws/r/subnet.html">aws_subnet</a>
</li>
Expand Down

0 comments on commit e23862a

Please sign in to comment.