mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fixes #9920 This was an issue caught with the shadow graph. Self references in provisioners were causing a self-edge on destroy apply graphs. We need to explicitly check that we're not creating an edge to ourself. This is also how the reference transformer works.
6 lines
87 B
HCL
6 lines
87 B
HCL
resource "test" "A" {
|
|
provisioner "foo" {
|
|
command = "${test.A.id}"
|
|
}
|
|
}
|