This message was deleted.
# general
s
This message was deleted.
l
Don't be afraid!
That's fine, the code-level check is just as easy.
b
👍
w
You could also use a stack transformation to overlay the protect flag. A super simple example can be found here: https://github.com/MitchellGerdisch/pulumi_work/blob/main/ts-stack-transformation-example/index.ts It’s still code, but maybe a bit cleaner depending on the use-case.
l
Much harder to back-out though. When you finally to want to make a little tweak to the stack, you have to unprotect each resource that needs to be updated or deleted. Could be hard.