Sam Hulick
08/02/2021, 6:29 PMexport default function main(app: <http://sst.App|sst.App>): void {
// Set default runtime for all functions
app.setDefaultFunctionProps({
runtime: 'nodejs14.x',
tracing: Tracing.DISABLED,
});
const coreStack = new CoreStack(app, 'core');
new ApiStack(app, 'api', { cognitoAuth: coreStack.auth });
}
within CoreStack
constructor, I’m doing this.auth = auth
(and auth is an instance of sst.Auth
)
lemme know if there’s a better waythdxr
08/02/2021, 6:30 PMSam Hulick
08/02/2021, 6:32 PM${cf:stackname.outputVar}
in Serverless Framework? or is it not possible?Sam Hulick
08/02/2021, 6:33 PMKujtim Hoxha
08/02/2021, 6:46 PMKujtim Hoxha
08/02/2021, 6:46 PMKujtim Hoxha
08/02/2021, 6:47 PMSam Hulick
08/02/2021, 7:14 PMJared Horne
08/12/2021, 1:35 PMthdxr
08/12/2021, 2:02 PMJared Horne
08/12/2021, 2:09 PM