We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aec616 commit 265582fCopy full SHA for 265582f
infra/postgresql/main.tf
@@ -106,7 +106,7 @@ resource "google_secret_manager_secret" "secret_db_url" {
106
107
resource "google_secret_manager_secret_version" "secret_version" {
108
secret = google_secret_manager_secret.secret_db_url.id
109
- secret_data = "postgresql:+psycopg2//${var.postgresql_user_name}:${var.postgresql_user_password}@${google_sql_database_instance.db.private_ip_address}/${var.postgresql_database_name}"
+ secret_data = "postgresql+psycopg2://${var.postgresql_user_name}:${var.postgresql_user_password}@${google_sql_database_instance.db.private_ip_address}/${var.postgresql_database_name}"
110
}
111
112
output "instance_address" {
0 commit comments