github.com/tompao/terraform@v0.6.10-0.20180215233341-e41b29d0961b/terraform/test-fixtures/apply-targeted-module-unrelated-outputs/child2/main.tf (about)

     1  resource "aws_instance" "foo" {
     2  }
     3  
     4  output "instance_id" {
     5    # Even though we're targeting just the resource a bove, this should still
     6    # be populated because outputs are implicitly targeted when their
     7    # dependencies are
     8    value = "${aws_instance.foo.id}"
     9  }