github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/terraform/testdata/apply-ref-existing/main.tf (about)

     1  resource "aws_instance" "foo" {
     2    foo = "bar"
     3  }
     4  
     5  module "child" {
     6    source = "./child"
     7  
     8    var = "${aws_instance.foo.foo}"
     9  }