--target
leads to "snapshot integrity failure; refusing to use it" error
#15959
Labels
impact/snapshot-integrity
Snapshot integrity failure
kind/bug
Some behavior is incorrect or out of spec
p1
Bugs severe enough to be the next item assigned to an engineer
Milestone
What happened?
I ran
pulumi up --target 'urn:...::aws:ecs/service:Service::ratelimit-' --target-dependents
.The preview correctly identified the resource as being deleted, but the actual
up
returned an error for unrelated resources:Subsequent
up
s had the same error.I was eventually able to get past this with
up --disable-integrity-checking
-- once that succeeded everything worked as normal again.Example
Steps:
Output of
pulumi about
CLI
Version 3.113.0
Go Version go1.22.2
Go Compiler gc
Host
OS darwin
Version 14.1
Arch arm64
Backend
Name pulumi.com
URL https://app.pulumi.com/bryce-pulumi-corp
User bryce-pulumi-corp
Organizations bryce-pulumi-corp, pulumi
Token type personal
Additional context
Both resources have
retainOnDelete
set.The targeted resource was expected to be deleted, because I had replaced it with a different type/provider in my program.
I exported a state file shortly before running the update with
--target
, so it might be possible to repo using that. Ping me and I can send it over.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: