opentofu/internal/initwd/testdata
Alisdair McDiarmid 8df065a2fe initwd: Switch from earlyconfig to configs
This is a mostly mechanical refactor with a handful of changes which
are necessary due to the semantic difference between earlyconfig and
configs.

When parsing root and descendant modules in the module installer, we now
check the core version requirements inline. If the Terraform version is
incompatible, we drop any other module loader diagnostics. This ensures
that future language additions don't clutter the output and confuse the
user.

We also add two new checks during the module load process:

* Don't try to load a module with a `nil` source address. This is a
  necessary change due to the move away from earlyconfig.

* Don't try to load a module with a blank name (i.e. `module ""`).
  Because our module loading manifest uses the stringified module path
  as its map key, this causes a collision with the root module, and a
  later panic. This is the bug which triggered this refactor in the
  first place.
2023-03-06 09:14:28 -05:00
..
already-installed Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty-module-name initwd: Switch from earlyconfig to configs 2023-03-06 09:14:28 -05:00
go-getter-modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00
invalid-version-constraint Standardise directory name for test data 2019-06-30 10:16:15 +02:00
invalid-version-constraint-local Standardise directory name for test data 2019-06-30 10:16:15 +02:00
load-module-package-escape initwd: Error message for local paths escaping module packages 2021-05-27 11:00:43 -07:00
load-module-package-prefix initwd: Error message for local paths escaping module packages 2021-05-27 11:00:43 -07:00
local-module-error Standardise directory name for test data 2019-06-30 10:16:15 +02:00
local-module-symlink Standardise directory name for test data 2019-06-30 10:16:15 +02:00
local-modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00
prerelease-version-constraint Use the apparentlymart/go-versions library to parse module constraints (#32377) 2022-12-14 17:02:11 +01:00
prerelease-version-constraint-match Use the apparentlymart/go-versions library to parse module constraints (#32377) 2022-12-14 17:02:11 +01:00
registry-modules Standardise directory name for test data 2019-06-30 10:16:15 +02:00