Enabling Server Side Apply causes deployment failure #2446
Labels
area/providers
area/server-side-apply
kind/bug
Some behavior is incorrect or out of spec
last-applied-configuration
Issues related to the last-applied-configuration annotation
resolution/fixed
This issue was fixed
Milestone
What happened?
Failed to update a Deployment resource after enabling SSA. I got the error below.
The Deployment resource was originally created without SSA.
Expected Behavior
A successful pulumi up.
Steps to reproduce
Pulumi.yaml
Enable SSA and edit the manifest (nginx:1.22 -> nginx:1.23), then run
pulumi up
. Deployment succeeds at this time.Run
pulumi up
again without any changes.Then get the following outputs.
Output of
pulumi about
Additional context
If we removed the “last-applied-configuration” annotation from the Deployment resource, the deployment of pulumi up succeeded.
Removing
refresh: always
option also solved the issue.Therefore, I suspect that last-applied-configuration, which should not be used when SSA is enabled, is affecting the deployment.
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: