Sione
03/04/2021, 4:11 AM/lib
dir. Now if that's the case then there's no need for monorepo then, right? for each service to have its own package.json
or does it still make sense for each service to have it's own package.json
with lerna to control hoisting? Also, I'm using seed and I haven't deploy my sst app yet. But when adding a service on seed, is it looking for the service dir still or the stack file in /lib
dir? Overall, I think an example of sst app that spans multiple services would be very helpful.Frank
Frank
there’s no need for monorepo then, right?Correct. No need for a monorepo. Just 1 package.json at the root works.
adding a service on seed, is it looking for the service dir still or the stack file inSeed looks fordir?/lib
sst.json
So the entire SST app will be 1 service on Seed.Sione
03/04/2021, 5:05 AMSione
03/04/2021, 5:09 AMFrank
Frank
Sione
03/04/2021, 4:23 PM/lib/index.js
guarantee any ordering or are all stacks being provisioned concurrently? I'm thinking of infra global resources that is passed in and shared between stacks like a database. Does sst handle resources dependencies in making sure resource that others are dependent on is created first? Or is that something that still fit for seed deploy phases that may guarantee order..Frank
const apiStack = new ApiStack(app, "api")
const jobStack = new JobStack(app, "job", {
httpApi: apiStack.httpApi
});
SST will deploy jobStack after apiStackSione
03/04/2021, 7:23 PMFrank
i’ll miss the visual separation in seedUnder the resources page, you will still able to see each stack in there. But I hear you, if we see ppl need to deploy a specific stack from the pipeline page, we might expand and show all the services in an SST app.
if one stack failed on deployment does that prevent other independent stacks deploymentsIf 2 stacks are independent, they will be deployed in parallel. One failing will not stop the other one.
Sione
03/05/2021, 4:46 AM