terraform/config/testdata/validate-count-bad-context/main.tf

12 lines
177 B
HCL

resource "aws_instance" "foo" {
}
output "no_count_in_output" {
value = "${count.index}"
}
module "no_count_in_module" {
source = "./child"
somevar = "${count.index}"
}