Derek Kershner
04/25/2022, 8:00 PMstage
have a character limit? We use personal stages for local dev, and mine is derekkershner
, and I received an error while sst start
ing: Error: Function name can not be longer than 64 characters but has 66 characters.
. This deploys fine to prod
stage.Seth Geoghegan
04/25/2022, 8:03 PMSeth Geoghegan
04/25/2022, 8:04 PMDerek Kershner
04/25/2022, 8:04 PMSeth Geoghegan
04/25/2022, 8:04 PMSeth Geoghegan
04/25/2022, 8:05 PMSeth Geoghegan
04/25/2022, 8:06 PMDerek Kershner
04/25/2022, 8:06 PMDerek Kershner
04/25/2022, 8:07 PM$(whoami)
to a number of characters?Adam Fanello
04/25/2022, 9:20 PMwhoami|head -c 8
Adam Fanello
04/25/2022, 9:21 PMcut
is another optionDerek Kershner
04/25/2022, 9:23 PMDerek Kershner
04/25/2022, 9:38 PMNickie Buckner
04/26/2022, 4:26 PMmyname-myapp-CustomS3AutoDeleteObject-fvOyFB3nyCdg
vs myname-myapp-CustomS3AutoDeleteObject
. In general they’re complaining about so many lambda functions between local devs, dev, and prod, but that’s a different complaint.Adam Fanello
04/26/2022, 4:28 PMAdam Fanello
04/26/2022, 4:29 PMDerek Kershner
04/26/2022, 5:47 PMAdam Fanello
04/26/2022, 6:00 PMthdxr
04/26/2022, 6:01 PMthdxr
04/26/2022, 6:03 PMapp-stage-stack-{path}
where path is the id of every parent resource but I think at some point it gets too long so they opt for a hash of the pathDerek Kershner
04/26/2022, 6:03 PMthdxr
04/26/2022, 6:04 PMDerek Kershner
04/26/2022, 6:04 PMthdxr
04/26/2022, 6:05 PMFrank
Frank
(The additional lambda for every lambda to manage CloudWatch logs is annoying. Would love to have just one per stack instead.)Do you guys prefer having 1 Lambda per stack to set log retention? Or if SST deployed an
SSTToolkit
Stack per account per region (like CDKToolkit
), and it sets the log retention for all app in the same account/region?Frank
Derek Kershner
04/28/2022, 1:45 PMHey guys.. haha prepping for the v1 launch has been more work than anticipated 😅Optimists till the end, the whole lot of us Developers. 🙂
Derek Kershner
04/28/2022, 1:46 PMDo you guys prefer having 1 Lambda per stack to set log retention? Or if SST deployed anI do not share the OCD of the others, and prefer a lambda to have a single purpose, and also do not care about random characters in names (unless they make me exceed function name limits, which is the original bug I was trying to report 😉 )Stack per account per region (likeSSTToolkit
), and it sets the log retention for all app in the same account/region?CDKToolkit
Frank
Adam Fanello
04/28/2022, 2:52 PMDo you guys prefer having 1 Lambda per stack to set log retention? Or if SST deployed anI'm good either way, so long as there aren't double the Lambdas all with cryptic names. If there are other things you can do with specialized Lambdas, then a SSTToolkit stack can consolidate it. If it's just about Lambda logs, and never anything else, then including with stacks that have Lambdas makes sense.Stack per account per region (likeSSTToolkit
), and it sets the log retention for all app in the same account/region?CDKToolkit