From d048e3ee995b3fbc07bf58e3750efe63cf3d2ebb Mon Sep 17 00:00:00 2001 From: Gunar Gessner Date: Wed, 20 Jul 2022 16:10:12 -0300 Subject: [PATCH] refact: resolve ambigous variable name --- gcp-py-cloudrun-cloudsql/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcp-py-cloudrun-cloudsql/__main__.py b/gcp-py-cloudrun-cloudsql/__main__.py index 6726a729d..6e3575e8a 100644 --- a/gcp-py-cloudrun-cloudsql/__main__.py +++ b/gcp-py-cloudrun-cloudsql/__main__.py @@ -19,8 +19,8 @@ "database", instance=cloud_sql_instance.name, name=config.require("db-name") ) -users = pulumi_gcp.sql.User( - "users", +user = pulumi_gcp.sql.User( + "user", name=config.require("db-name"), instance=cloud_sql_instance.name, password=config.require_secret("db-password"), @@ -28,7 +28,7 @@ sql_instance_url = Output.concat( "postgres://", - config.require("db-name"), + user.name, ":", config.require_secret("db-password"), "@/",