Rob N
03/25/2022, 11:58 PMthdxr
03/26/2022, 12:13 AMthdxr
03/26/2022, 12:14 AMRob N
03/26/2022, 12:17 AMmain
method right? I am sure i am missing something very simple 🙂thdxr
03/26/2022, 12:18 AMthdxr
03/26/2022, 12:18 AMRob N
03/26/2022, 12:20 AMRob N
03/26/2022, 12:21 AMnpx sst start <stackname>
Adrian Schweizer
03/26/2022, 12:35 AMAdrian Schweizer
03/26/2022, 12:36 AMAdrian Schweizer
03/26/2022, 12:41 AM"scripts": {
"test": "sst test",
"start": "sst start",
"start-orders": "STACKS=billing,order,admin sst start",
"start-usermgt": "STACKS=registration,profile,admin sst start", "build": "sst build",
"deploy": "sst deploy",
"remove": "sst remove"
},
Adrian Schweizer
03/26/2022, 12:41 AMAdrian Schweizer
03/26/2022, 12:41 AMAdrian Schweizer
03/26/2022, 12:45 AMSTACK=myStack npx sst start
and then in index.js only create this stack when STACK has any valueRob N
03/26/2022, 12:47 AMAdrian Schweizer
03/26/2022, 12:48 AMRob N
03/26/2022, 12:49 AMAdrian Schweizer
03/26/2022, 12:50 AMAdrian Schweizer
03/26/2022, 12:51 AMRob N
03/26/2022, 12:53 AMFrank
npx sst start stack1 stack2
. Is it that:
• Live debug 2 stacks and deploy the other 8 stacks normally (ie. only Lambda functions in stack1
and stack2
are invoked locally); OR
• Live debug 2 stacks and NOT deploy the other 8 stacks.Rob N
03/26/2022, 11:37 AMDamjan
04/01/2022, 10:05 AMthdxr
04/01/2022, 2:20 PMfunction MyStack(ctx: StackContext) {
useDefaults(ctx)
}
thdxr
04/01/2022, 2:20 PMconst MyStack = useDefaults(() => {
})
thdxr
04/01/2022, 2:21 PM