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" {
|
module "mod" {
|
||||||
source = "./mod"
|
source = "./mod"
|
||||||
count = 2
|
instance_count = 2
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
variable "count" {
|
variable "instance_count" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_instance" "foo" {
|
resource "aws_instance" "foo" {
|
||||||
count = "${var.count}"
|
count = "${var.instance_count}"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "submod" {
|
module "submod" {
|
||||||
source = "./submod"
|
source = "./submod"
|
||||||
list = ["${aws_instance.foo.*.id}"]
|
list = ["${aws_instance.foo.*.id}"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue