github.com/LorbusChris/terraform@v0.11.12-beta1/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  }