https://pulumi.com logo
m

mysterious-battery-54431

12/08/2021, 6:57 PM
Hello. I have a Pulumi stack that had a resource and output which have been deleted. For some reason the output remains in the stack, despite that the code is not there to support it. Every time I run
pulumi up
it deletes the output, but the output is actually never deleted, and I can see it in the stack in the Pulumi console, or if I run
pulumi stack output
. Any ideas about how to surgically remove an output in this scenario?
r

red-match-15116

12/08/2021, 6:59 PM
is it the last output in the stack?
i.e. the only output in the stack
You could try the steps listed here: https://github.com/pulumi/pulumi/issues/8273
m

mysterious-battery-54431

12/08/2021, 7:10 PM
@red-match-15116 yes it was the last output, and the method in the link you added worked - ty!