# Functions
FromUpstreamConfig converts a socket's database service configuration into terraform resource data for the "database_configuration" attribute on the "border0_socket" resource.
ToUpstreamConfig converts a "border0_socket" resource data from "database_configuration" attribute into a socket's database service upstream configuration.