This message was deleted.
# general
s
This message was deleted.
b
no, there isn’t any way to reset this. You’ll need to: •
pulumi state delete
the resources • reimport them using the
import
resource option or using the CLI
s
Well that stinks, thanks.
b
the alternative is to fundamentally break the encryption model, which I don’t think is a good option. If the underlying encryption key has disappeared, you can’t decrypt values.
e
I have considered adding a "clean" function to just strip the state file of all secret values for this. The diff on next update would probably look pretty bad, but it would at least keep all your resource types and id's tracked.
s
That would save a lot of time trying to re-import larger stacks with lost secrets