code: func (m Module) UnkeyedInstanceShim() ModuleInstance {
  	path := make(ModuleInstance, len(m))
  	for i, name := range m {
  		path[i] = ModuleInstanceStep{Name: name}
  	}
  	return path
  }
docs: // UnkeyedInstanceShim is a shim method for converting a Module address to the
  // equivalent ModuleInstance address that assumes that no modules have
  // keyed instances.
  //
  // This is a temporary allowance for the fact that Terraform does not presently
  // support "count" and "for_each" on modules, and thus graph building code that
  // derives graph nodes from configuration must just assume unkeyed modules
  // in order to construct the graph. At a later time when "count" and "for_each"
  // support is added for modules, all callers of this method will need to be
  // reworked to allow for keyed module instances.