Merge pull request #348 from cfortier2/awsdbsubnet-doc

add subnet_group_name for aws db instance doc
This commit is contained in:
Jack Pearkes 2014-10-04 10:00:20 -07:00
commit 0fa5d160a2
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ resource "aws_db_instance" "default" {
username = "foo" username = "foo"
password = "bar" password = "bar"
security_group_names = ["${aws_db_security_group.bar.name}"] security_group_names = ["${aws_db_security_group.bar.name}"]
subnet_group_name = "my_database_subnet_group"
} }
``` ```
@ -48,6 +49,7 @@ The following arguments are supported:
* `vpc_security_group_ids` - (Optional) List of VPC security groups to associate. * `vpc_security_group_ids` - (Optional) List of VPC security groups to associate.
* `skip_final_snapshot` - (Optional) Enables skipping the final snapshot on deletion. * `skip_final_snapshot` - (Optional) Enables skipping the final snapshot on deletion.
* `security_group_names` - (Optional) List of DB Security Groups to associate. * `security_group_names` - (Optional) List of DB Security Groups to associate.
* `subnet_group_name` - (Optional) Name of DB subnet group
## Attributes Reference ## Attributes Reference