Fix #49
main.yml
on: push
build
27s
test-cdk-simple
1m 51s
Annotations
2 errors
test/cdk-simple.test.ts > cdk-simple > call Lambda - testTsCommon:
test/cdk-simple.test.ts#L81
Error: Snapshot `cdk-simple > call Lambda - testTsCommon 1` mismatched
- Expected
+ Received
{
- "body": "Running Lambda localy = true",
- "statusCode": 200,
+ "errorMessage": "AccessDeniedException: User: arn:aws:sts::975050327186:assumed-role/lld-cdk-simple-TestLambdaServiceRoleC28C2D9C-dxtx6Ebu6Yl7/lld-cdk-simple-TestLambda2F70C45E-VQP1Y0KkWmZo is not authorized to perform: iot:DescribeEndpoint because no identity-based policy allows the iot:DescribeEndpoint action",
+ "errorType": "Runtime.UnhandledPromiseRejection",
+ "trace": [
+ "Runtime.UnhandledPromiseRejection: AccessDeniedException: User: arn:aws:sts::975050327186:assumed-role/lld-cdk-simple-TestLambdaServiceRoleC28C2D9C-dxtx6Ebu6Yl7/lld-cdk-simple-TestLambda2F70C45E-VQP1Y0KkWmZo is not authorized to perform: iot:DescribeEndpoint because no identity-based policy allows the iot:DescribeEndpoint action",
+ " at process.<anonymous> (file:///var/runtime/index.mjs:1276:17)",
+ " at process.emit (node:events:518:28)",
+ " at emit (node:internal/process/promises:150:20)",
+ " at processPromiseRejections (node:internal/process/promises:284:27)",
+ " at process.processTicksAndRejections (node:internal/process/task_queues:96:32)",
+ ],
}
❯ test/cdk-simple.test.ts:81:22
|
test-cdk-simple
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dist
Expired
|
1.6 MB |
|