core: Fix TestContext2Input_submoduleTriggersInvalidCount

Its fixture was using a module variable called "count", and that name is
now reserved.
This commit is contained in:
Martin Atkins 2018-05-24 18:33:36 -07:00
parent e7cfbb9737
commit 93ff9f4233
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
module "mod" { module "mod" {
source = "./mod" source = "./mod"
count = 2 instance_count = 2
} }

View File

@ -1,8 +1,8 @@
variable "count" { variable "instance_count" {
} }
resource "aws_instance" "foo" { resource "aws_instance" "foo" {
count = "${var.count}" count = "${var.instance_count}"
} }
module "submod" { module "submod" {