opentofu/terraform/test-fixtures/plan-module-var-with-default-value/main.tf
James Nugent 31cc2d2ccd core: Do not type check unset variables
A consequnce of the work done in #6185 was that variables which were in
a module but not set explicitly (i.e. the default value was relied upon)
were marked as type errors. This was reported in #6230.

This commit adds a test case for this and a patch which fixes the issue.
2016-04-21 23:30:34 -05:00

8 lines
104 B
HCL

resource "null_resource" "noop" {}
module "test" {
source = "./inner"
im_a_string = "hello"
}