thankful-planet-44055
08/02/2023, 12:06 AMopts=ResourceOptions(ignore_changes=["resourceName"])
Wonder if setting the “name” would be a better approach?green-stone-37839
08/02/2023, 12:08 AMresourceName
do you mean
new SomeResource("this part?")
thankful-planet-44055
08/02/2023, 12:09 AMgreen-stone-37839
08/02/2023, 12:09 AMaliases
for this purpose, but backing up a bit, what is the reasoning behind putting a timestamp in your resource name?thankful-planet-44055
08/02/2023, 12:20 AMopts=ResourceOptions(ignore_changes=["name"]), # Avoid changes due to datestamp and random
green-stone-37839
08/02/2023, 1:30 PMname
is probably a decent approach, but it sounds like you want to track when a template was created and updated. And any time you update name
you'll force a replacement.
Tags are probably the only logical vehicle for what you're trying to get after, although not as visible as something like name.thankful-planet-44055
08/02/2023, 9:10 PM