Make Customer Endpoint optional in IPSEC tunnel config
In Magic Transit IPSEC Tunnel config API, the customer endpoint IP is optional
Verified tunnel setup without specifying Customer endpoint IP in local setup
@@ -32,7 +32,7 @@ type MagicTransitIPsecTunnel struct {
CreatedOn *time.Time `json:"created_on,omitempty"`
ModifiedOn *time.Time `json:"modified_on,omitempty"`
Name string `json:"name"`
- CustomerEndpoint string `json:"customer_endpoint"`
+ CustomerEndpoint string `json:"customer_endpoint,omitempty"`
CloudflareEndpoint string `json:"cloudflare_endpoint"`
InterfaceAddress string `json:"interface_address"`
Description string `json:"description,omitempty"`
