diff --git a/terraform/test-fixtures/input-submodule-count/main.tf b/terraform/test-fixtures/input-submodule-count/main.tf index 1cbfc3450..723a15c6d 100644 --- a/terraform/test-fixtures/input-submodule-count/main.tf +++ b/terraform/test-fixtures/input-submodule-count/main.tf @@ -1,4 +1,4 @@ module "mod" { - source = "./mod" - count = 2 + source = "./mod" + instance_count = 2 } diff --git a/terraform/test-fixtures/input-submodule-count/mod/main.tf b/terraform/test-fixtures/input-submodule-count/mod/main.tf index 995abe256..dd7cf3d9a 100644 --- a/terraform/test-fixtures/input-submodule-count/mod/main.tf +++ b/terraform/test-fixtures/input-submodule-count/mod/main.tf @@ -1,11 +1,11 @@ -variable "count" { +variable "instance_count" { } resource "aws_instance" "foo" { - count = "${var.count}" + count = "${var.instance_count}" } module "submod" { source = "./submod" - list = ["${aws_instance.foo.*.id}"] + list = ["${aws_instance.foo.*.id}"] }