github.com/openshift/terraform@v0.11.12-beta1/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 }