github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/refresh-data-module-var/main.tf (about)

     1  resource "aws_instance" "A" {
     2      foo = "bar"
     3  }
     4  
     5  module "child" {
     6      source = "child"
     7      key    = "${aws_instance.A.id}"
     8  }