I'm another new Pulumi user, so please take my comments with a grain of salt. I've heard people ask similar questions and the solution offered was to use
pulumi stack export --file stack.json
, edit the json,
pulumi stack import --file stack.json
. Sounds a bit scarey to me, but you can keep a copy of the original
stack.json
. Does that sound like the right approach to you?
f
faint-accountant-59646
06/09/2020, 8:25 AM
Hi Steven , Thanks! I'll try that and let you know how it worked 🙂
g
gentle-diamond-70147
06/09/2020, 4:00 PM
You can
pulumi state delete <urn>
is the better way to do this. If you're getting an error that the service doesn't exist, it's likely that the urn you're providing is incorrect. You can use
pulumi stack --show-urns
to get the full list of resources and their urns.
👍 1
a
average-receptionist-65239
06/10/2020, 12:20 AM
That's nice. I've been using an output variable to show the URNs.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.