important-leather-28796
07/12/2022, 5:35 PMpermission denied error
trying to pulumi destroy
a small stack with storage buckets. The policy troubleshooter confirms I have access, and I went the extra steps to confirm their is no organizational deny rules (no deny rules at all) related to storage.buckets.delete
. This is just a dev stack, so on a hunch it wouldn’t allow deletion of buckets with contents I destroyed the buckets in the gcp console. I’m still trying to destroy
the stack but get * googleapi: Error 404: The specified bucket does not exist., notFound
. How do I force
pulumi to discard the resources? Export/edit/import then destroy?witty-candle-66007
07/12/2022, 6:00 PMpulumi refresh -y
to update the Pulumi state file and then pulumi destroy
should work.important-leather-28796
07/12/2022, 6:01 PMpulumi up -r
but that didn’t work. Thanks for that note, if there were more resources I would have needed that. I got out of it with a pulumi stack rm --force
since it was such a focused stack.witty-candle-66007
07/12/2022, 6:06 PMpulumi up -r
didn’t bring the state to a known state (pun intended) from which pulumi destroy
would work.important-leather-28796
07/12/2022, 6:06 PM