terraform/internal
Martin Atkins 537c1bedcf internal/providercache: LinkFromOtherCache removes target, not source
This was incorrectly removing the _source_ entry prior to creating the
symlink, therefore ending up with a dangling symlink and no source file.

This wasn't obvious before because the test case for LinkFromOtherCache
was also incorrectly named and therefore wasn't running. Fixing the name
of that test made this problem apparent.

The TestLinkFromOtherCache test case now ends up seeing the final resolved
directory rather than the symlink target, because of upstream changes
to the internal/getproviders filesystem scanning logic to handle symlinks
properly.
2020-03-25 13:50:00 -07:00
..
copydir internal/copydir: Factor out our recursive directory copy for reuse 2020-03-25 11:29:48 -07:00
earlyconfig addrs: Stronger validation and normalization of provider namespace/type 2020-02-18 15:42:09 -08:00
getproviders internal/getproviders: SearchLocalDirectory can handle symlinks 2020-03-25 13:50:00 -07:00
initwd internal/copydir: Factor out our recursive directory copy for reuse 2020-03-25 11:29:48 -07:00
modsdir Module Expansion: Part 2 (#24154) 2020-02-24 17:42:32 -05:00
providercache internal/providercache: LinkFromOtherCache removes target, not source 2020-03-25 13:50:00 -07:00
tfplugin5 Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00