github.com/recobe182/terraform@v0.8.5-0.20170117231232-49ab22a935b7/config/test-fixtures/validate-count-bad-context/main.tf (about)

     1  resource "aws_instance" "foo" {
     2  }
     3  
     4  output "no_count_in_output" {
     5    value = "${count.index}"
     6  }
     7  
     8  module "no_count_in_module" {
     9    source = "./child"
    10    somevar = "${count.index}"
    11  }