-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Ghost/ Duplicate secret and unable to remove #6687
Copy link
Copy link
Open
Description
Not sure how I got into this state but this is what I am facing:
❯ pnpm sst secret list --stage myStage | grep SecretId
SecretId=921
❯ pnpm sst secret remove --stage myStage SecretId
✕ Secret "SecretId" does not exist
❯ pnpm sst secret set --stage myStage SecretId newKey
✓ Set "SecretId" for stage "myStage". Run "sst deploy" to update.
❯ pnpm sst secret list --stage myStage | grep SecretId
SecretId=newKey
SecretId=921
❯ pnpm sst secret remove --stage myStage SecretId
✓ Removed "SecretId" for stage "myStage". Run "sst deploy" to update.
❯ pnpm sst secret list --stage myStage | grep SecretId
SecretId=921
❯ pnpm sst secret remove --stage myStage SecretId
✕ Secret "SecretId" does not exist
I somehow have a ghost sst secret that I can not remove. I have tried the above sequence with sst deploys as recommended by the steps as well and it persists. I have also tried multiple refreshes of the stage. Hoping you can help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.