Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbai committed Nov 11, 2024
1 parent 6b50c08 commit e4b3243
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/services/apimanagement/api_management_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e4b3243

Please sign in to comment.