github.com/LorbusChris/terraform@v0.11.12-beta1/terraform/test-fixtures/validate-count-variable/main.tf (about)

     1  variable "foo" {}
     2  
     3  resource "aws_instance" "foo" {
     4      foo = "foo"
     5      count = "${var.foo}"
     6  }