From ac283d8803ca823fed99fde4c9b53be2d29eef6d Mon Sep 17 00:00:00 2001 From: Jonathan Kunder Date: Wed, 25 Jan 2023 15:19:33 -0800 Subject: [PATCH 1/2] 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 --- magic_transit_ipsec_tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic_transit_ipsec_tunnel.go b/magic_transit_ipsec_tunnel.go index cf9076a5181..6ac5f22c2ce 100644 --- a/magic_transit_ipsec_tunnel.go +++ b/magic_transit_ipsec_tunnel.go @@ -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"` From fbc791dc7692071b72ea062134b6398f9688dafd Mon Sep 17 00:00:00 2001 From: Jonathan Kunder Date: Wed, 25 Jan 2023 15:58:03 -0800 Subject: [PATCH 2/2] Add changelog --- .changelog/1185.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/1185.txt diff --git a/.changelog/1185.txt b/.changelog/1185.txt new file mode 100644 index 00000000000..5cf8562005a --- /dev/null +++ b/.changelog/1185.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +magic_transit_ipsec_tunnel: makes customer endpoint an optional field for ipsec tunnel creation +```