-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pulumi thinks that K8S deployments exist when they don't, and refresh doesn't change it either #8281
Comments
Could you provide the output of the full refresh? The update failure is expected in this situation. If you can share logs here or privately, it would really help here. |
I unfortunately cannot provide that, since the stack is no longer in that state, and I did not save the logs. |
Hi @viveklak, I'm running into the same issue. How can I share you the logs privately? |
I'm running into this issue using the automation api, i have a stack where pulumi thinks a kubernetes job exists and tries to refresh it but fails in the process, is there a solution to this? This is the only output it provides
I tried to delete the resource directly in the pulumi state using
|
I'd bet your original URN had a dollar sign in it and it got escaped by your shell. Use single quotes when using |
Hello!
Issue details
Pulumi seems confused about the state of two K8S deployment resources. It thinks they exist, but they do not. Running
pulumi refresh
does not update the state of these resources (pulumi still thinks they exist when they clearly do not).Pulumi version v3.16.0
pulumi up
fails to update the resources, since they don't exist.(same behavior with a full refresh, but the logs are to big to paste here).
Steps to reproduce
I don't know if I will be able to reproduce it.
pulumi up
failed due to a mistake in the code that renamed the EKS cluster. This rename forces a delete of the cluster, which Pulumi correctly aborted the run for, without modifying the EKS cluster.pulumi up
andpulumi refresh
, with the above result.Expected: Pulumi shouldn't think these deployments exist when they don't. Even if it did get confused,
pulumi refresh
should remove them from the state.Actual: Pulumi stores non-existent resources in the state, and
pulumi refresh
doesn't remove them from it.The text was updated successfully, but these errors were encountered: