This message was deleted.
# general
s
This message was deleted.
c
@pulumi/tailscale/TailnetKey
is the specific resource I’d like to not store / recompute on each reference.
I can see how this may not be supported due to causing churn in state.
b
you probably can utilise something from
random
with
keepers
set to e.g. current timestamp. Like, create a
random.RandomUuid
resource (which will be recreated every time the timestamp of the pulumi run changes - which means every
up
) and have your
TailnetKey
either be a child of that UUID or depend on it. wdyt?
c
I'm not familiar with those two packages, but from what you describe I can see how it would work. Thanks for the suggestion! I actually ended up going a different route; though it's not necessarily what I'll stick to going forward. I ended up making the key reusable and having a longer shelf life. The prior settings had been my preferred production settings; and I was forcing myself to use them in a development context which was unnecessarily painful.
👍 1