ops: remove sslmode=require from pg uri
This commit is contained in:
parent
846e235e0c
commit
651471a961
|
@ -44,7 +44,8 @@ resource "digitalocean_database_cluster" "metaforecast_db" {
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
generated_env = merge(var.metaforecast_env, {
|
generated_env = merge(var.metaforecast_env, {
|
||||||
DIGITALOCEAN_POSTGRES = digitalocean_database_cluster.metaforecast_db.uri
|
# should we bring proper DO certificates to prod instead?
|
||||||
|
DIGITALOCEAN_POSTGRES = replace(digitalocean_database_cluster.metaforecast_db.uri, "/\\?sslmode=require$/", "")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user