-
Notifications
You must be signed in to change notification settings - Fork 155
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
Ghost updates with 5.42.0 #2647
Comments
Hi @devnev - thank you for filing this issue. If possible, can you help us out a bit more? When you say
Do you experience this behavior on the most recent version of Pulumi - could you try updating your Pulumi CLI and see if this persists? Finally, it would really help us out if you can send us a minimum viable repro that we can run on our end to find a root cause. |
Hi @devnev just to add to what Guin asked - there's no Please could you also share what is shown in the console for you during the Thanks! |
Hi, thanks for the ping. We've now tried updating pulumi everywhere - notably renovate bot isn't able to update the github acction's version string automatically - and the issue has gone away. For more background, below is the diff from the output.
The provider is configured as export const provider = new aws.Provider('aws', {
region: defaultRegion,
defaultTags: {
tags,
},
}); In CI there were additional errors that we did not see when we successfully reproduced the "ghost update" issue locally:
|
Spoke to soon - we're seeing the issue again, even after pulumi upgrade. I'm going to downgrade |
I've not managed to reproduce this locally myself yet. A few more follow-on questions and thoughts:
|
We seem to have moved past this being an issue, and I can't reproduce it any more. As best as I can tell, upgrades changed the handling of default tags, that caused permission errors, and those caused updates without diffs... or the deafult tags caused updates without diffs, not quite sure on that. I'm pretty sure I also had the same diffs running locally where I have sufficient permissions, but not sure why that would have been the case. Confounding this is the various pulumi versions that were flying around. Would you prefer we dig further, or OK with closing the issue? |
Coming back to this, we're still encountering related issues, although not ghost updates. We've now downgraded back to |
I think it all checks out - 5.42.0 introduced a fix for default tags in #2585 which it sounds like is causing downstream issues for you. Although, I'm not exactly sure what our actions on this issue can be. Should we close it as you suggested earlier @devnev? Will you be able to work past he upgrade (and then to 6.x)? |
I think we've managed to work past it, yeah. Closing, thanks |
What happened?
After updating to 5.42.0, we experienced ghost updates, where the resource was marked as to be updated in
preview
andup
, but there were no changes to the properties in the diff, and the update remained even after application. A revert of only@pulumi/aws
to 5.41.0 (inpackage.json
andyarn.lock
), and no other changes, fixed the issue, with the preview showing only the provider version downgrade and no other changes - and no further changes once that was applied.Expected Behavior
No update for unmodified resources, applying update makes update go away
Steps to reproduce
The
allowElbChangesPolicy
in the following code was one of the resources with a ghost updateOutput of
pulumi about
I'm not going to paste the resource URNs, but here's the rest
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: