You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apparentlymart
changed the title
support splat expressions in ignore_changes
Allow selecting attribute of all elements of a collection in ignore_changes
Aug 23, 2021
I could not get
ignore_changes
to work with a property of a nested list of blocks in Terraform 1.0.In this example I would like to ignore any
prop_b
changes in anyexample_block
:Searching on the internet there are many suggestions, but none of them seem to work, including:
"example_block.%.prop_b"
--> Error: "Dot must be followed by attribute name."example_block[*].prop_b
--> Error: "A single static variable reference is required"example_block.0.prop_b
--> Ignores it for the first item, but not "all" itemsexample_block[0].prop_b
--> Seems to be same as aboveexample_block["prop_b"]
--> Seems to ignore the wholeexample_block
, in particular adding a newexample_block
does not add it in the Terraform plan.The text was updated successfully, but these errors were encountered: