mirror of https://github.com/hashicorp/terraform
The report in #7378 led us into a deep rabbit hole that turned out to expose a bug in the graph walk implementation being used by the `NoopTransformer`. The problem ended up being when two nodes in a single dependency chain both reported `Noop() -> true` and needed to be removed. This was breaking the walk and preventing the second node from ever being visited. Fixes #7378pull/7648/head
parent
a4c96e5619
commit
b45f53eef4
@ -1 +1,5 @@
|
||||
variable "bottom_param" {}
|
||||
variable bottom_param {}
|
||||
|
||||
resource "null_resource" "bottom" {
|
||||
value = "${var.bottom_param}"
|
||||
}
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
variable "param" {}
|
||||
|
||||
resource "null_resource" "n" {}
|
||||
variable param {}
|
||||
|
||||
module "bottom" {
|
||||
source = "./bottom"
|
||||
bottom_param = "${var.param}"
|
||||
}
|
||||
|
||||
resource "null_resource" "middle" {
|
||||
value = "${var.param}"
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue