code: func (m ModuleInstance) ResourceInstance(mode ResourceMode, typeName string, name string, key InstanceKey) AbsResourceInstance {
  	return AbsResourceInstance{
  		Module: m,
  		Resource: ResourceInstance{
  			Resource: Resource{
  				Mode: mode,
  				Type: typeName,
  				Name: name,
  			},
  			Key: key,
  		},
  	}
  }
docs: // ResourceInstance returns the address of a particular resource instance within the receiver.