Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
g
great-breakfast-56601
11/10/2021, 11:56 AM
Am I correct in saying it doesn't work on the first pass?
l
little-cartoon-10569
11/10/2021, 8:18 PM
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
great-breakfast-56601
11/11/2021, 5:39 AM
Not really what I expected
Post