tall-terabyte-4283411/01/2019, 11:04 PM
a resource without having to run
? i.e. to add the
to something directly. More context on why in the thread:
is showing that changes will happen, without me having changed anything. https://pulumi-community.slack.com/archives/C84L4E3N1/p1570135724281600
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
to all the resources at risk of being recreated, before doing
. Would that work?
, then add the protect:true, then
pulumi stack export
We don’t yet have a direct command to do this in one set, but we do have a command for the opposite -
pulumi stack import
, which we should probably expand to support this scenario as well.
pulumi state unprotected <urn>
tall-terabyte-4283411/01/2019, 11:53 PM