code: func (d *ModuleDiff) Instances(id string) []*InstanceDiff {
  	var result []*InstanceDiff
  	for k, diff := range d.Resources {
  		if k == id || strings.HasPrefix(k, id+".") {
  			if !diff.Empty() {
  				result = append(result, diff)
  			}
  		}
  	}
  
  	return result
  }
docs: // Instances returns the instance diffs for the id given. This can return
  // multiple instance diffs if there are counts within the resource.