From 281d3fe86fbc783d40f2bde28e27f6b33390971a Mon Sep 17 00:00:00 2001 From: Michal Tekel Date: Wed, 24 Feb 2016 17:29:09 +0000 Subject: [PATCH] Don't specify port for postgresQL provider 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 https://github.com/hashicorp/terraform/issues/2430 --- terraform/cloudfoundry/cf_dbs.tf | 1 - 1 file changed, 1 deletion(-) diff --git a/terraform/cloudfoundry/cf_dbs.tf b/terraform/cloudfoundry/cf_dbs.tf index 44fce23955..7f59b709cc 100644 --- a/terraform/cloudfoundry/cf_dbs.tf +++ b/terraform/cloudfoundry/cf_dbs.tf @@ -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}" }