github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/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 }