Daniel da Rocha
08/26/2021, 2:50 PMimport * as sst from "@serverless-stack/resources";
export default class MtSStack extends sst.Stack {
constructor(scope, id, props) {
super(scope, id, props);
const spamCheck = new sst.Function(this, "SpamCheck", {
handler: "src/spamCheck.handler",
});
this.addOutputs({
FunctionArn: spamCheck.functionArn,
});
}
}
But keep getting some issues on start/deploy:
prod-mts-sst-app-debug-stack | CREATE_FAILED | AWS::Lambda::Function | Connect5B7625CA Template error: IAM role prod-mts-sst-app-debug-st-ConnectServiceRole07B61C-6GL2GT2QJTIS doesn't exist
prod-mts-sst-app-debug-stack | CREATE_FAILED | Custom::S3AutoDeleteObjects | BucketAutoDeleteObjectsCustomResourceBAFD23C2
prod-mts-sst-app-debug-stack | CREATE_FAILED | AWS::Lambda::Function | Resource
prod-mts-sst-app-debug-stack | CREATE_FAILED | AWS::Lambda::Function | Disconnect7D6B12BD
Any ideas of how to get it working?thdxr
08/26/2021, 2:51 PMthdxr
08/26/2021, 2:52 PMDaniel da Rocha
08/26/2021, 3:14 PMMyStack
from the template to MtSStack
...Daniel da Rocha
08/26/2021, 3:14 PMDaniel da Rocha
08/26/2021, 3:14 PMHubert
08/26/2021, 4:12 PMnpx sst start
. What did you do to resolve it?Daniel da Rocha
08/26/2021, 4:13 PMthdxr
08/26/2021, 4:13 PMHubert
08/26/2021, 4:16 PMHubert
08/26/2021, 4:17 PMHubert
08/26/2021, 4:18 PMHubert
08/26/2021, 4:21 PMthdxr
08/26/2021, 4:21 PMHubert
08/26/2021, 4:23 PMFrank
Daniel da Rocha
08/27/2021, 6:55 AM