website: document db_subnet_group

cc/ @buth
This commit is contained in:
Jack Pearkes 2014-09-16 09:53:41 -04:00
parent dd434fb71b
commit f16485664d
3 changed files with 40 additions and 1 deletions

View File

@ -3,6 +3,7 @@
IMPROVEMENTS: IMPROVEMENTS:
* helper/schema: Can now have default values. [GH-245] * helper/schema: Can now have default values. [GH-245]
* providers/aws: New resource db_subnet_group. [GH-295]
BUG FIXES: BUG FIXES:

View File

@ -0,0 +1,34 @@
---
layout: "aws"
page_title: "AWS: aws_db_subnet_group"
sidebar_current: "docs-aws-resource-db-subnet-group"
---
# aws\_db\_subnet\_group
Provides an RDS DB subnet group resource.
## Example Usage
```
resource "aws_db_subnet_group" "default" {
name = "main"
description = "Our main group of subnets"
subnet_ids = ["${aws_subnet.frontend.id}", "${aws_subnet.backend.id}"]
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the DB security group.
* `description` - (Required) The description of the DB security group.
* `subnet_ids` - (Required) A list of ingress rules.
## Attributes Reference
The following attributes are exported:
* `id` - The db subnet group name.

View File

@ -1,4 +1,4 @@
<% wrap_layout :inner do %> ]<% wrap_layout :inner do %>
<% content_for :sidebar do %> <% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary"> <div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav"> <ul class="nav docs-sidenav">
@ -25,6 +25,10 @@
<a href="/docs/providers/aws/r/db_security_group.html">aws_db_security_group</a> <a href="/docs/providers/aws/r/db_security_group.html">aws_db_security_group</a>
</li> </li>
<li<%= sidebar_current("docs-aws-resource-db-subnet-group") %>>
<a href="/docs/providers/aws/r/db_subnet_group.html">aws_db_subnet_group</a>
</li>
<li<%= sidebar_current("docs-aws-resource-eip") %>> <li<%= sidebar_current("docs-aws-resource-eip") %>>
<a href="/docs/providers/aws/r/eip.html">aws_eip</a> <a href="/docs/providers/aws/r/eip.html">aws_eip</a>
</li> </li>