{ "output": { "firstOutput": { "value": "${aws_instance.test.0.foo}" }, "secondOutput": { "value": "${aws_instance.test.1.foo}" } } }