thankful-planet-4405508/02/2023, 12:06 AM
Wonder if setting the “name” would be a better approach?
green-stone-3783908/02/2023, 12:08 AM
do you mean
new SomeResource("this part?")
thankful-planet-4405508/02/2023, 12:09 AM
green-stone-3783908/02/2023, 12:09 AM
for this purpose, but backing up a bit, what is the reasoning behind putting a timestamp in your resource name?
thankful-planet-4405508/02/2023, 12:20 AM
opts=ResourceOptions(ignore_changes=["name"]), # Avoid changes due to datestamp and random
green-stone-3783908/02/2023, 1:30 PM
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
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-4405508/02/2023, 9:10 PM