tall-terabyte-42834
11/01/2019, 11:04 PMprotect
a resource without having to run pulumi up
? i.e. to add the protect: true
to something directly. More context on why in the thread:pulumi preview
is showing that changes will happen, without me having changed anything. https://pulumi-community.slack.com/archives/C84L4E3N1/p1570135724281600pulumi up
because of the risk that it'll destroy everything. But I want to add new resources to the stack. Maybe I can do this by manually adding protect: true
to all the resources at risk of being recreated, before doing pulumi up
. Would that work?white-balloon-205
pulumi stack export
, then add the protect:true, then pulumi stack import
.
We don’t yet have a direct command to do this in one set, but we do have a command for the opposite - pulumi state unprotected <urn>
, which we should probably expand to support this scenario as well.tall-terabyte-42834
11/01/2019, 11:53 PMexport
and import
!