github.com/hashicorp/terraform-plugin-sdk@v1.17.2/terraform/testdata/refresh-module-input-computed-output/child/main.tf (about)

     1  variable "input" {
     2      type = list(string)
     3  }
     4  
     5  resource "aws_instance" "foo" {
     6      foo = "${var.input}"
     7  }
     8  
     9  output "foo" {
    10      value = "${aws_instance.foo.foo}"
    11  }