github.com/aspring/terraform@v0.8.2-0.20161216122603-6a8619a5db2e/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 }