Adrián Mouly
07/27/2021, 11:13 PMFrank
Adrián Mouly
07/28/2021, 12:15 AMAdrián Mouly
07/28/2021, 12:16 AMAdrián Mouly
07/28/2021, 12:35 AMAdrián Mouly
07/28/2021, 12:36 AMFrank
How should I build this in a way that SEED can show me each individual service?An SST app shows up as 1 service on Seed. Each stack doesn’t show up as a separate service on Seed. If you go to the
Resources
tab on Seed, and expand the SST service, you can see there are multiple stacks within the service.
1 sst in the root, but 1 stack for each service.It works. But this structure works better with incremental service deploy algorithm. So when you push changes in
sst/
, Seed knows only the sst
service needs to be deploy, and will skip slsServiceA
and slsServiceB
.
/
services/
slsServiceA/
serverless.yml
slsServiceB/
serverless.yml
sst/
sst.json
Frank
service
in the https://github.com/serverless-stack/lerna-yarn-starter repo vs the service
on Seed.Frank
Adrián Mouly
07/28/2021, 1:15 AMAdrián Mouly
07/28/2021, 1:16 AMservice
from SEED, sometimes… and with SST I don’t have a way to do that?Adrián Mouly
07/28/2021, 1:16 AMAdrián Mouly
07/28/2021, 1:17 AMAdrián Mouly
07/28/2021, 1:17 AMAdrián Mouly
07/28/2021, 1:17 AMAdrián Mouly
07/28/2021, 1:18 AMAdrián Mouly
07/28/2021, 1:19 AMAdrián Mouly
07/28/2021, 1:21 AMFrank
Frank
Frank
Adrián Mouly
07/28/2021, 1:30 AMAdrián Mouly
07/28/2021, 1:30 AMAdrián Mouly
07/28/2021, 1:31 AMAdrián Mouly
07/28/2021, 1:31 AMAdrián Mouly
07/28/2021, 1:31 AMAdrián Mouly
07/28/2021, 1:32 AMFrank
Adrián Mouly
07/28/2021, 1:35 AMAdrián Mouly
07/28/2021, 1:35 AMAdrián Mouly
07/28/2021, 1:36 AMAdrián Mouly
07/28/2021, 1:37 AMAdrián Mouly
07/28/2021, 1:38 AMAdrián Mouly
07/28/2021, 1:38 AMFrank
sst start
, it let’s you work on only the stack(s) in your app.Adrián Mouly
07/28/2021, 4:27 AMAdrián Mouly
07/28/2021, 4:28 AMAdrián Mouly
07/28/2021, 4:28 AMAdrián Mouly
07/28/2021, 4:29 AMAdrián Mouly
07/28/2021, 4:29 AMFrank
Adrián Mouly
07/28/2021, 4:31 AMAdrián Mouly
07/28/2021, 4:31 AMAdrián Mouly
07/28/2021, 4:32 AMAdrián Mouly
07/28/2021, 4:32 AMAdrián Mouly
07/28/2021, 4:32 AMFrank
yabble-api
and name the stack main
• name the 2nd app yabble-tasks
and name the stack main
• name the 3rd app yabble-survey
and name the stack main
When you deploy to the dev
stage, this will create 3 CloudFormation stacks:
• dev-yabble-api-main
• dev-yabble-tasks-main
• dev-yabble-survey-main
And if 1 day u decide to restructure them into 1 SST app, you can name the app yabble
and it has 3 stacks: api-main
, tasks-main
, and survey-main
This way, the underlying CloudFormation stack names remain the same. And it will be a smooth transition.Adrián Mouly
07/28/2021, 4:41 AMAdrián Mouly
07/28/2021, 4:42 AMAdrián Mouly
07/28/2021, 4:43 AMAdrián Mouly
07/28/2021, 4:43 AMFrank
Adrián Mouly
07/28/2021, 4:46 AM