mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 23:23:59 -06:00
983e4f13c6
This test illustrates a failure which occurs during the Input walk, if an interpolation is used with the input of a splat operation resulting in a multi-variable. The bug was found during use of the RC2, but does not correspond to an open issue at present.
10 lines
131 B
HCL
10 lines
131 B
HCL
module "b" {
|
|
source = "./modb"
|
|
}
|
|
|
|
module "a" {
|
|
source = "./moda"
|
|
|
|
single_element = "${element(module.b.computed_list, 0)}"
|
|
}
|