From 21eb18b5e2c70a4472e5059743dabfd2314e2c94 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Mon, 20 Dec 2021 17:13:31 +0100 Subject: [PATCH] fix: use address instead of endpoint dquote> dquote> Endpoint contains the port number as well --- secret.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secret.tf b/secret.tf index 2d92564..33c3a42 100644 --- a/secret.tf +++ b/secret.tf @@ -13,7 +13,7 @@ locals { DB_PASSWORD = local.password DB_NAME = aws_db_instance.default.identifier DB_PORT = aws_db_instance.default.port - DB_HOST = aws_db_instance.default.endpoint + DB_HOST = aws_db_instance.default.address } password = random_password.password.result }