terraform/internal/initwd
Kristin Laemmert bf04503f04
internal/initwd: identify possible relative module sources
Identify module sources that look like relative paths ("child" instead
of "./child", for example) and surface a helpful error.

Previously, such module sources would be passed to go-getter, which
would fail because it was expecting an absolute, or properly relative,
path. This commit moves the check for improper relative paths sooner so
a user-friendly error can be displayed.
2019-03-11 15:25:21 -07:00
..
test-fixtures internal/initwd: identify possible relative module sources 2019-03-11 15:25:21 -07:00
copy_dir.go copyDir: detect if the module install path is a symlink to a directory (#20603) 2019-03-07 12:59:48 -08:00
copy_dir_test.go copyDir: detect if the module install path is a symlink to a directory (#20603) 2019-03-07 12:59:48 -08:00
doc.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
from_module.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
from_module_test.go internal/initwd: identify possible relative module sources 2019-03-11 15:25:21 -07:00
getter.go internal/initwd: identify possible relative module sources 2019-03-11 15:25:21 -07:00
inode.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
inode_freebsd.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
inode_windows.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
load_config.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
module_install.go internal/initwd: identify possible relative module sources 2019-03-11 15:25:21 -07:00
module_install_hooks.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
module_install_test.go internal/initwd: identify possible relative module sources 2019-03-11 15:25:21 -07:00
testing.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
version_required.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00