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