You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
I have a Pulumi Stack Output that's like stateful-resource-urns: ["urn1", "urn2"]
As a stopgap measure in our CI for testing, we basically run a pulumi destroy --target urn1 --target urn2
followed by a pulumi update to get a fresh version of these stateful resources.
I recently ran into an issue where, due to AWS IAM issues, urn2 was not deletable, and now I'm in a state where
pulumi destroy --target urn1 --target urn2
# urn1 deleted; urn2 not deleted due to IAM issue
< fix IAM issue>
pulumi destroy --target urn1 --target urn2
# pulumi complains that urn1 doesn't exist
As such, I'd love to have some sort of pulumi destroy --target X --its-okay-if-the-target-doesnt-exist
this is very much an edge case and I doubt it'll be actioned on, but wanted to send it out into the ether.
Affected area/feature
pulumi cli
The text was updated successfully, but these errors were encountered:
This is an interesting edge case, that I think should be solved by #3304 - basically always do the destroy regardless of what the errors are that come back, in this case, ignore the error that something doesn't exist
Hello!
Issue details
I have a Pulumi Stack Output that's like
stateful-resource-urns: ["urn1", "urn2"]
As a stopgap measure in our CI for testing, we basically run a
pulumi destroy --target urn1 --target urn2
followed by a
pulumi update
to get a fresh version of these stateful resources.I recently ran into an issue where, due to AWS IAM issues,
urn2
was not deletable, and now I'm in a state whereAs such, I'd love to have some sort of
pulumi destroy --target X --its-okay-if-the-target-doesnt-exist
this is very much an edge case and I doubt it'll be actioned on, but wanted to send it out into the ether.
Affected area/feature
pulumi cli
The text was updated successfully, but these errors were encountered: