abundant-twilight-4701206/22/2023, 11:18 AM
, I get:
which I try to fix by deleting the first resource from the state with
error: getting snapshot: snapshot integrity failure; refusing to use it: resource urn:... refers to unknown provider urn:...
But I get:
pulumi state delete "urn:..." --disable-integrity-checking.
Would appreciate help!
error: No such resource "urn:..." exists in the current state
echoing-dinner-1953106/22/2023, 1:15 PM
) to remove that bad provider reference. You should be able to find a urn for a valid provider in the state file and paste that in for the resources provider field, then import the file back
pulumi stack export > state.json
pulumi stack import < state.json