github.com/mehmetalisavas/terraform@v0.7.10/terraform/test-fixtures/apply-output/main.tf (about) 1 resource "aws_instance" "foo" { 2 num = "2" 3 } 4 5 resource "aws_instance" "bar" { 6 foo = "bar" 7 } 8 9 output "foo_num" { 10 value = "${aws_instance.foo.num}" 11 }