opentofu/terraform/test-fixtures/input-module-computed-output-element/modb/main.tf
James Nugent 983e4f13c6 core: Add context test for empty lists as module outputs
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.
2016-06-23 21:15:33 +01:00

8 lines
115 B
HCL

resource "aws_instance" "test" {
count = 3
}
output "computed_list" {
value = ["${aws_instance.test.*.id}"]
}