github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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  }