provider/zone_id_filter.go
func (f ZoneIDFilter) Match(zoneID string) bool {
	// An empty filter includes all zones.
	if len(f.zoneIDs) == 0 {
		return true
	}

	for _, id := range f.zoneIDs {
		if strings.HasSuffix(zoneID, id) {
			return true
		}
	}

	return false
}
func (f ZoneIDFilter) Match(zoneID string) bool {
	// An empty filter includes all zones.
	if len(f.zoneIDs) == 0 {
		return true
	}

	for _, id := range f.zoneIDs {
		if strings.HasSuffix(zoneID, id) {
			return true
		}
	}

	return false
}
// Match checks whether a zone matches one of the provided zone ids