add subnet_group_name for aws db instance doc
This commit is contained in:
parent
817f0d9f30
commit
77edd9d8d8
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue