Data Server Operator Support
The various V4_CFG_POSTGRES_* variables have been unified under a V4_CFG_POSTGRES_SERVERS dictionary.
Below is an example of how to convert from the old variables to the new syntax. Replace {{VARIABLE}} with the correct value.
V4_CFG_POSTGRES_SERVERS:
default:
fqdn: {{V4_CFG_POSTGRES_FQDN}}
admin: {{V4_CFG_POSTGRES_ADMIN_LOGIN}}
internal: false if V4_CFG_POSTGRES_TYPE == "external" else true
password: {{V4_CFG_POSTGRES_PASSWORD}}
server_port: {{V4_CFG_POSTGRES_PORT}}
database: {{V4_CFG_POSTGRES_DATABASE}}
ssl_enforcement_enabled: {{V4_CFG_POSTGRES_SSL_ENFORCEMENT}}
service_account: {{V4_CFG_POSTGRES_SERVICE_ACCOUNT}} #gcp external postgres only
connection_name: {{V4_CFG_POSTGRES_CONNECTION_NAME}} #gcp external postgres only
Note The old variables and old tfstate are still honored. However this support will be removed in a future release