Replacing failed but no changes to be done on next run #2382
Labels
area/providers
impact/reliability
Something that feels unreliable or flaky
kind/bug
Some behavior is incorrect or out of spec
resolution/no-repro
This issue wasn't able to be reproduced
size/M
Estimated effort to complete (up to 5 days).
What happened?
I was running
pulumi up
and observed an error while replacing a k8s secret:This happened due to passing non-base64 encoded data to the
data
argument forcore.v1.Secret
's constructor.After fixing the problem, running
pulumi up
again results in no changes to be done:The resource was indeed not created in the k8s cluster, but seems like Pulumi's state is saying otherwise.
BTW, running
pulumi refresh
deleted the secret from the state and I couldrun pulumi
up again.Expected Behavior
I would expect that Pulumi does not register the resource as created, if there was an error.
And hence I would expect the resource would be created the next time running
pulumi up
.Steps to reproduce
Output of
pulumi about
The text was updated successfully, but these errors were encountered: