code: func (rs *Resource) Instance(key addrs.InstanceKey) *ResourceInstance {
  	return rs.Instances[key]
  }
docs: // Instance returns the state for the instance with the given key, or nil
  // if no such instance is tracked within the state.