Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if your token loses permissions the provider "deletes" all resources #255

Open
susanev opened this issue Oct 12, 2022 · 1 comment
Open
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features

Comments

@susanev
Copy link

susanev commented Oct 12, 2022

we recently had a situation where the github token we were using lost its permissions
and on the next update it seems that since it could no longer see these resources it assumed it should delete them from the checkpoint
this was pretty annoying to recover from
should it be doing something different in this situation?

internal example
internal slack convo

@susanev susanev added kind/enhancement Improvements or new features impact/usability Something that impacts users' ability to use the product easily and intuitively labels Oct 12, 2022
@t0yv0
Copy link
Member

t0yv0 commented Feb 14, 2023

Upvoting. Definitely not OK. Burned by it myself today.

Specifically, a pulumi refresh under a token that had wrong permissions succeeded but wiped all the resources from the stack 😱 It would be lovely if the update instead errored indicating that the token has no permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants