ops: remove sslmode=require from pg uri

This commit is contained in:
Vyacheslav Matyukhin 2022-04-12 11:57:14 +03:00
parent 846e235e0c
commit 651471a961
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -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$/", "")
}) })
} }