https://pulumi.com logo
#general
Title
# general
o

orange-policeman-59119

03/04/2019, 8:52 PM
Is there a way to molly guard some Pulumi resources? e.g.: I want to make sure that a comment in the wrong place doesn't cause
pulumi up
to destroy a persistent volume in my CI/CD scripts. (Molly guard from the jargon file: http://www.catb.org/jargon/html/M/molly-guard.html)
g

gentle-diamond-70147

03/04/2019, 9:16 PM
you can set
protect: true
on resources to prevent this. https://pulumi.io/reference/programming-model.html#resourceoptions
o

orange-policeman-59119

03/04/2019, 9:20 PM
Thank you!