mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
LoadModule now always returns the module
We don't need to load the configuration twice, since configload can return the module for us.
This commit is contained in:
17
internal/command/testdata/init-check-required-version-first-module/mod/main.tf
vendored
Normal file
17
internal/command/testdata/init-check-required-version-first-module/mod/main.tf
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
terraform {
|
||||
required_version = ">200.0.0"
|
||||
|
||||
bad {
|
||||
block = "false"
|
||||
}
|
||||
|
||||
required_providers {
|
||||
bang = {
|
||||
oops = "boom"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nope {
|
||||
boom {}
|
||||
}
|
||||
Reference in New Issue
Block a user