mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-28 23:01:32 -05:00
Destroy-time references are not correctly or fully inverted when crossing module boundaries, causing cycle during apply.
11 lines
153 B
HCL
11 lines
153 B
HCL
resource "aws_instance" "a" {
|
|
require_new = "new"
|
|
lifecycle {
|
|
create_before_destroy = true
|
|
}
|
|
}
|
|
|
|
output "ids" {
|
|
value = [aws_instance.a.id]
|
|
}
|