core: Fix TestContext2Input_submoduleTriggersInvalidCount
Its fixture was using a module variable called "count", and that name is now reserved.
This commit is contained in:
parent
e7cfbb9737
commit
93ff9f4233
|
@ -1,4 +1,4 @@
|
|||
module "mod" {
|
||||
source = "./mod"
|
||||
count = 2
|
||||
source = "./mod"
|
||||
instance_count = 2
|
||||
}
|
||||
|
|
|
@ -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}"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue