Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
01/14/2021, 9:42 PM
This message was deleted.
l
little-cartoon-10569
01/14/2021, 9:43 PM
Don't be afraid!
little-cartoon-10569
01/14/2021, 9:43 PM
That's fine, the code-level check is just as easy.
b
broad-dog-22463
01/14/2021, 9:43 PM
👍
w
witty-candle-66007
01/15/2021, 1:45 PM
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
little-cartoon-10569
01/17/2021, 7:58 PM
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.
Open in Slack
Previous
Next