Ömer Toraman
10/16/2021, 8:53 PMnpx sts start
for the first time, it created two stacks (three actually, CDKToolKit
as well)
1. dev-notes-my-stack
2. dev-notes-debug-stack
Anyways, we (me and the Guide) then removed the stack:
npx sts remove my-stack
The output stated that it removed the stack (dev-notes-my-stack
), however, I can still see the Stack on the AWS CloudFormation console.
And when I run the above command once again:
Warning: Setting the stage in the "sst.json" will be deprecated soon. Read more about this change here: <https://docs.serverless-stack.com/working-locally#deprecating-the-stage-option-in-the-sstjson>
Using stage: dev
Preparing your SST app
Transpiling source
Linting source
Removing dev-notes-my-stack
Stack dev-notes-my-stack is not found in your app.
---
Here’s the CloudFormation Console showing the stacks:Ömer Toraman
10/16/2021, 8:55 PMnpx sts start
created and uploaded two Stacks.
I gave more details in the discussion forums:
https://discourse.serverless-stack.com/t/create-an-sst-app/2462/2?u=omertoraman
https://discourse.serverless-stack.com/t/create-a-dynamodb-table-in-sst/2459/3?u=omertoramanRoss Coundon
10/16/2021, 9:29 PMRoss Coundon
10/16/2021, 9:29 PMFrank
npx sts
is a typo, you meant npx sst
right?Frank
my-stack
stack from ur SST app:
Stack dev-notes-my-stack is not found in your app.
Frank
my-stack
around in ur app and run npx sst remove my-stack
. Can you try putting the stack back and running the remove command again?Ömer Toraman
10/16/2021, 11:47 PM@Ömer Toraman I’m sureYes, I made a typo. Just checked the command I ran, and it wasis a typo, you meantnpx sts
right?npx sst
npx sst
.
I’m not sure how I need to keep my-stack
around. Is it a placeholder name or is it literally my-stack
?
Kindly note that I have never ran deploy
command, only start
so far.
Does npx sst remove my-stack
suppose to actually remove the Stack from CloudFormation?Frank
sst remove
should remove the CFN stack. The actual stack name is built using $stage-$app-$stack
, in this case, it seems to be dev-notes-my-stack