opentofu/repl/testdata/config-fixture/repl_test.tf
Martin Atkins ece8b6e734 repl: Fix tests
The test suite was not updated to deal with the new assumptions of the
HCL2-based expression evaluator, which requires configuration to exist
as well as state. Therefore we add a simple configuration fixture to have
it validate expressions against.

This also includes updates to expect the different error messages that the
new evaluator produces.
2018-10-16 19:14:11 -07:00

12 lines
361 B
HCL

# This configuration is just here to allow the tests in session_test to
# evaluate expressions without getting errors about things not being declared.
# Therefore it's intended to just be the minimum config to make those
# expressions work against the equally-minimal mock provider.
resource "test_instance" "foo" {
}
module "module" {
source = "./child"
}