github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/validate-count-computed/main.tf (about)

     1  data "aws_data_source" "foo" {
     2      compute = "value"
     3  }
     4  
     5  resource "aws_instance" "bar" {
     6      count = "${data.aws_data_source.foo.value}"
     7  }