diff --git a/CHANGELOG.md b/CHANGELOG.md index 40ef3a392..6db7a6dd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ IMPROVEMENTS: * helper/schema: Can now have default values. [GH-245] + * providers/aws: New resource db_subnet_group. [GH-295] BUG FIXES: diff --git a/website/source/docs/providers/aws/r/db_subnet_group.html.markdown b/website/source/docs/providers/aws/r/db_subnet_group.html.markdown new file mode 100644 index 000000000..48163c869 --- /dev/null +++ b/website/source/docs/providers/aws/r/db_subnet_group.html.markdown @@ -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. + diff --git a/website/source/layouts/aws.erb b/website/source/layouts/aws.erb index c0c913ee2..2c519f44d 100644 --- a/website/source/layouts/aws.erb +++ b/website/source/layouts/aws.erb @@ -1,4 +1,4 @@ -<% wrap_layout :inner do %> +]<% wrap_layout :inner do %> <% content_for :sidebar do %>