Skip to content

Commit

Permalink
Correct JDBC uri
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Aug 17, 2024
1 parent 31d98a0 commit 1c9e5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/postgres-cloud-native/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ resource "kubernetes_secret" "connection-secret" {
data = {
"dbname" = "application-database"
"host" = "${var.argo_deployment_name}-cluster-rw.${var.namespace}"
"jdbc-uri" = "jdbc:postgresql://cluster-pg-rw.${var.namespace}:5432/application-database?password=${random_password.pg-password.result}&user=application-database"
"jdbc-uri" = "jdbc:postgresql://${var.argo_deployment_name}-cluster-rw.${var.namespace}:5432/application-database?password=${random_password.pg-password.result}&user=application-database"
"password" = random_password.pg-password.result
"pgpass" = "${var.argo_deployment_name}-cluster-rw:5432:application-database:application-database:${random_password.pg-password.result}"
"port" = "5432"
Expand Down

0 comments on commit 1c9e5d3

Please sign in to comment.