Am I correct in saying it doesn't work on the firs...
# general
g
Am I correct in saying it doesn't work on the first pass?
l
Yes. The protect opt works when it is "on" a resource at the time Pulumi's engine starts its work. So you have to
up
the `
protect: true
in a separate run of Pulumi.
The same applies on removing protect. You can't remove protect and delete the resource in the same
up
.
g
Not really what I expected