github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/terraform/test-fixtures/apply-count-variable/main.tf (about)

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