From e4b32436c30c801b841ef265aec31f2f2fb5a294 Mon Sep 17 00:00:00 2001 From: sinbai Date: Mon, 11 Nov 2024 14:55:35 +0800 Subject: [PATCH] update code --- internal/services/apimanagement/api_management_resource.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/services/apimanagement/api_management_resource.go b/internal/services/apimanagement/api_management_resource.go index b6cb169f003ca..5279fffe82653 100644 --- a/internal/services/apimanagement/api_management_resource.go +++ b/internal/services/apimanagement/api_management_resource.go @@ -1129,9 +1129,6 @@ func resourceApiManagementServiceUpdate(d *pluginsdk.ResourceData, meta interfac return fmt.Errorf("`zones` is only supported when sku type is `Premium`") } - if d.Get("public_ip_address_id").(string) == "" { - return fmt.Errorf("`public_ip_address` must be specified when `zones` are provided") - } zones := zones.ExpandUntyped(v) payload.Zones = &zones }