Skip to content

Commit

Permalink
Gateway: Pass MongoDB name
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Nov 27, 2020
1 parent 459d187 commit d86fa0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tf-modules/base/gcb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ resource "google_cloudbuild_trigger" "main" {
"STAN_DB_NAME=${google_sql_database.postgresql_stan.name}",
"STAN_DB_USER=${google_sql_user.postgresql_stan.name}",

"GW_MONGODB_CONNECTION_URI=${lookup(mongodbatlas_cluster.main.connection_strings[0], "private_srv")}/${local.mongodb_db_name}",
"GW_MONGODB_CONNECTION_URI=${lookup(mongodbatlas_cluster.main.connection_strings[0], "private_srv")}",
"GW_MONGODB_DB_NAME=${local.mongodb_db_name}",
"GW_MONGODB_USER_NAME=${mongodbatlas_database_user.main.username}",
]
}
Expand Down

0 comments on commit d86fa0e

Please sign in to comment.