mirror of https://github.com/hashicorp/terraform
An interpolated count value that is determined during plan, is lost during plan serialization, causing apply to fail when the interpolation string can't be evaluated.pull/17548/head
parent
bb8f859113
commit
f3d1fb3aff
@ -0,0 +1,11 @@
|
||||
variable "instance_count" {
|
||||
default = 1
|
||||
}
|
||||
|
||||
resource "aws_instance" "test" {
|
||||
count = "${var.instance_count}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "dependent" {
|
||||
count = "${aws_instance.test.count}"
|
||||
}
|
||||
Loading…
Reference in new issue