github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/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 above, this should still
     6    # be populated because outputs are implicitly targeted when their
     7    # dependencies are
     8    value = "${aws_instance.foo.id}"
     9  }