Sam Hulick
08/01/2021, 11:12 PMSam Hulick
08/02/2021, 12:12 AMSam Hulick
08/02/2021, 1:00 AMFrank
const fn1 = new sst.Function(...);
const fn2 = new sst.Function(this, "Fn2", {
handler: ...,
environment: {
FN1_ARN: fn1.functionArn,
}
});
Sam Hulick
08/02/2021, 11:32 AMimport * as sst
or import * as iam
(from CDK) for clarity, rather than destructuring, since this code isn't actually part of the actual app and so tree-shaking doesn't matter?Frank
Sam Hulick
08/02/2021, 5:20 PM