terraform/internal
Kristin Laemmert a15a4acf2f
configs/configupgrade: detect possible relative module sources (#20646)
* configs/configupgrade: detect possible relative module sources

If a module source appears to be a relative local path but does not have
a preceding ./, print a #TODO message for the user.

* internal/initwd: limit go-getter detectors to those supported by terraform
* internal/initwd: move isMaybeRelativeLocalPath check into getWithGoGetter

To avoid making two calls to getter.Detect, which potentially makes
non-trivial API calls, the "isMaybeRelativeLocalPath" check was moved to
a later step and a custom error type was added so user-friendly
diagnostics could be displayed in the event that a possible relative local
path was detected.
2019-03-13 11:17:14 -07:00
..
earlyconfig command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
initwd configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
modsdir Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
tfplugin5 core: Allow legacy SDK to opt out of plan-time safety checks 2019-02-11 17:26:49 -08:00