terraform/configs/configupgrade
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
..
test-fixtures configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
analysis.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
analysis_expr.go configs/configupgrade: Do type inference with input variables 2018-12-07 17:05:36 -08:00
doc.go configupgrade: new package for upgrading configs for 0.12 2018-10-16 18:50:29 -07:00
module_sources.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
module_sources_test.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
upgrade.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
upgrade_body.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
upgrade_expr.go configs/configupgrade: Fix up uses of the .count pseudo-attribute 2019-02-22 16:18:53 -08:00
upgrade_native.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
upgrade_test.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
upgrader.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00