provider/aws: Update RDS Cluster Instance Docs

The provided config didn't work; this should patch that up, to avoid the name conflict
This commit is contained in:
Clint 2016-03-18 09:34:28 -05:00
parent 31a452a88b
commit a8a5acec6f
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ For more information on Amazon Aurora, see [Aurora on Amazon RDS][2] in the Amaz
``` ```
resource "aws_rds_cluster_instance" "cluster_instances" { resource "aws_rds_cluster_instance" "cluster_instances" {
count = 2 count = 2
identifier = "aurora-cluster-demo" identifier = "aurora-cluster-demo-${count.index}"
cluster_identifier = "${aws_rds_cluster.default.id}" cluster_identifier = "${aws_rds_cluster.default.id}"
instance_class = "db.r3.large" instance_class = "db.r3.large"
} }
@ -36,7 +36,7 @@ resource "aws_rds_cluster" "default" {
availability_zones = ["us-west-2a","us-west-2b","us-west-2c"] availability_zones = ["us-west-2a","us-west-2b","us-west-2c"]
database_name = "mydb" database_name = "mydb"
master_username = "foo" master_username = "foo"
master_password = "bar" master_password = "barbut8chars"
} }
``` ```