mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
ignore_changes is causing changes in other flatmapped sets to be filtered out incorrectly. This required fixing the testDiffFn to create diffs which include the old value, breaking one other test.
17 lines
200 B
HCL
17 lines
200 B
HCL
resource "aws_instance" "foo" {
|
|
id = "bar"
|
|
user_data = "x"
|
|
require_new = "yes"
|
|
|
|
set = {
|
|
a = "1"
|
|
b = "2"
|
|
}
|
|
|
|
lst = ["j", "k"]
|
|
|
|
lifecycle {
|
|
ignore_changes = ["require_new"]
|
|
}
|
|
}
|