opentofu/terraform/test-fixtures/plan-module-variable-from-splat/main.tf
James Nugent 56aadab115 core: Add context test for module var from splat
This adds additional coverage of the situation reported in #7195 to
prevent against regression. The actual fix was in 2356afd, in response
to #7143.
2016-07-13 11:23:56 -06:00

10 lines
155 B
HCL

module "mod1" {
source = "mod"
param = ["this", "one", "works"]
}
module "mod2" {
source = "mod"
param = ["${module.mod1.out_from_splat[0]}"]
}