Skip to content

Commit

Permalink
Don't specify port for postgresQL provider
Browse files Browse the repository at this point in the history
Don't specify port, as the RDS instance doesn't exist yet in the
moment of postgresQL provider initialization, which then breaks,
because port is returned as empty quotes, which doesn't convert to
string. See hashicorp/terraform#2430
  • Loading branch information
mtekel committed Feb 25, 2016
1 parent 182ed66 commit 281d3fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion terraform/cloudfoundry/cf_dbs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
provider "postgresql" {
host = "${aws_db_instance.cf.address}"
port = "${aws_db_instance.cf.port}"
username = "${aws_db_instance.cf.username}"
password = "${aws_db_instance.cf.password}"
}
Expand Down

0 comments on commit 281d3fe

Please sign in to comment.