Skip to content

Commit

Permalink
fix: instance url
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y committed Dec 18, 2024
1 parent 2aec616 commit e049bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/postgresql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ resource "google_secret_manager_secret" "secret_db_url" {

resource "google_secret_manager_secret_version" "secret_version" {
secret = google_secret_manager_secret.secret_db_url.id
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}"
}

output "instance_address" {
Expand Down

0 comments on commit e049bb1

Please sign in to comment.