https://serverless-stack.com/ logo
#help
Title
# help
s

Sam Hulick

12/01/2021, 5:01 PM
is there any reason updating SST would cause a bunch of changes to various resources in my stack the next time I run
yarn start
? it’s updating my RDS, KMS key.. kinda random stuff
t

thdxr

12/01/2021, 5:02 PM
Likely from underlying cdk upgrade?
s

Sam Hulick

12/01/2021, 5:02 PM
i’m not sure there was one this time around. I’m still at 1.132.0
I wish you could somehow do a diff after the fact. I’m really curious
f

Frank

12/01/2021, 6:01 PM
Maybe try the
sst diff
command?
t

thdxr

12/01/2021, 6:03 PM
Sam want's to sst diff the stuff that's deployed with
sst start
so it's like an
sst start:diff
s

Sam Hulick

12/01/2021, 6:05 PM
yeah, exactly
f

Frank

12/01/2021, 11:34 PM
I see… what makes sense?
sst start:diff
or
sst start-diff
or
sst diff-start
or
sst diff --start
s

Sam Hulick

12/01/2021, 11:34 PM
sst start --diff
?
maybe the same convention as the new
console
option
f

Frank

12/02/2021, 4:42 PM
The
--console
and
--udp
are temporary beta flag that will be removed. I feel we are trying to diff, but using the
start
mode.
sst diff --start
makes a bit more sense to me.
@thdxr @Jay u guys want to vote on this?
t

thdxr

12/02/2021, 4:43 PM
Copy code
sst diff <mode>
Makes the most sense to me
j

Jay

12/02/2021, 10:24 PM
Yeah I like the
sst diff
command as well. For
mode
@thdxr would it take
start
and any stage name?
t

thdxr

12/02/2021, 10:26 PM
yeah I think it already has a
--stage
option right
j

Jay

12/03/2021, 4:20 PM
Oh right yeah. So adding the mode would mean that it checks the debug stack as well?
f

Frank

12/04/2021, 6:19 AM
With mode, is it
sst diff start
or
sst diff --mode start?