Philipp Gaissert
02/17/2022, 6:17 PMDefaultStackSynthesizer
. However, when we try to deploy a debug stack for local debugging with sst start
, it gets caught in a failing loop in which it keeps trying to create a new bootstrapping stack, which fails because the default resource names violate our restrictions. How can we force sst/cdk to use our already-existing bootstrapping stack?Frank
Frank
cdk bootstrap --qualifier xxxxxx
?Philipp Gaissert
02/17/2022, 7:30 PMFrank
Frank
new MyStack(app, "my-stack", {
synthesizer: new cdk.DefaultStackSynthesizer({
qualifier: 'xxxxxx',
}),
});
like this?Philipp Gaissert
02/17/2022, 7:32 PMFrank
Frank
export function debugApp(app) {
new sst.DebugStack(app, "debug-stack", {
synthesizer: new cdk.DefaultStackSynthesizer({
qualifier: 'randchars1234',
}),
});
}
Frank
stacks/index.js
Frank
Philipp Gaissert
02/22/2022, 3:49 PMFrank
Philipp Gaissert
02/22/2022, 7:17 PMexport default function main(app: <http://sst.App|sst.App>): void {...}
?Frank
debugApp()
callback have to go into index.ts