code: func ReferencesFromConfig(body hcl.Body, schema *configschema.Block) []*addrs.Reference {
  	if body == nil {
  		return nil
  	}
  	refs, _ := lang.ReferencesInBlock(body, schema)
  	return refs
  }
docs: // ReferencesFromConfig returns the references that a configuration has
  // based on the interpolated variables in a configuration.