You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run yarn build:backend to generate backend bundles.
Run yarn dk deploy to deploy backend to AWS.
Observed behavior
The following error is thrown:
8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code[██████████████████████▋···································] (18/46)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code[████████████████████▏·····································] (16/46)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code[█████████████████████▍····································] (17/46)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code[███████████████▏··········································] (12/46)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code[██████████················································] (8/46)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNote/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest)8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNotes/handlerResource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code8:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | createNotehandlerBA768AA5Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: 8251005a-39a5-4a87-a232-58993e099e18, Extended Request ID: null)" (RequestToken: 5294d3ae-20fd-91d0-6b92-c5bb2eb7a56e, HandlerErrorCode: InvalidRequest) new Function (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/@aws-cdk/aws-lambda/lib/functier167C5FCF, deleteNotehandlerC903D399, updateNotehandler6A5A41DF]. Rollback requested by user.on.js:135:26) \_ new NotesApi (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/notes-api.js:29:24) \_ new AwsSdkJsNotesAppStack (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/aws-sdk-js-notes-app-stack.js:42:61) \_ Object.<anonymous> (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/aws-sdk-js-notes-app.js:25:1) \_ Module._compile (node:internal/modules/cjs/loader:1101:14) \_ Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) \_ Module.load (node:internal/modules/cjs/loader:981:32) \_ Function.Module._load (node:internal/modules/cjs/loader:822:12) \_ Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) \_ node:internal/main/run_main_module:17:478:28:42 PM | CREATE_FAILED | AWS::Lambda::Function | listNoteshandlerDC187D34Resource handler returned message: "Uploaded file must be a non-empty zip (Service: Lambda, Status Code: 400, Request ID: e84a2904-e8bc-4ee4-b78a-542cfdf39d20, Extended Request ID: null)" (RequestToken: 553cc80c-cb4a-5566-166b-26eae110a993, HandlerErrorCode: InvalidRequest) new Function (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/@aws-cdk/aws-lambda/lib/function.js:135:26) \_ new NotesApi (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/notes-api.js:29:24) \_ new AwsSdkJsNotesAppStack (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/aws-sdk-js-notes-app-stack.js:38:60) \_ Object.<anonymous> (/Users/trivikr/workspace/aws-sdk-js-notes-app/packages/infra/dist/aws-sdk-js-notes-app.js:25:1) \_ Module._compile (node:internal/modules/cjs/loader:1101:14) \_ Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) \_ Module.load (node:internal/modules/cjs/loader:981:32) \_ Function.Module._load (node:internal/modules/cjs/loader:822:12) \_ Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) \_ node:internal/main/run_main_module:17:47 ❌ aws-sdk-js-notes-app failed: Error: The stack named aws-sdk-js-notes-app failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE at Object.waitForStackDeploy (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/aws-cdk/lib/api/util/cloudformation.ts:305:11) at processTicksAndRejections (node:internal/process/task_queues:96:5) at Object.deployStack (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/aws-cdk/lib/api/deploy-stack.ts:294:26) at CdkToolkit.deploy (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/aws-cdk/lib/cdk-toolkit.ts:184:24) at initCommandLine (/Users/trivikr/workspace/aws-sdk-js-notes-app/node_modules/aws-cdk/bin/cdk.ts:213:9)The stack named aws-sdk-js-notes-app failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE
Expected behavior
The backend gets deployed to AWS.
The text was updated successfully, but these errors were encountered:
Describe the bug
yarn cdk deploy fails with error "CREATE_FAILED"
Steps to reproduce
Follow the instructions in README.
yarn build:backend
to generate backend bundles.yarn dk deploy
to deploy backend to AWS.Observed behavior
The following error is thrown:
Expected behavior
The backend gets deployed to AWS.
The text was updated successfully, but these errors were encountered: