Lambda function fails to bundle node_modules in DynamoDB table management during deploy #3128
Labels
Gen 2
pending-community-response
Issue is pending a response from the author or community.
pending-triage
question
Further information is requested
transferred
Environment information
Describe the bug
During deployment (both sandbox and app), the internal Lambda function responsible for DynamoDB table management is being deployed without its
node_modules
, causing module import failures. The deployment gets stuck during table creation and fails with the following error:The deployment process hangs at:
I've attempted various solutions including:
None of these attempts resolved the issue, and manual cleanup of stacks was required after each failed deployment.
Reproduction steps
defineData
:npx ampx sandbox
The text was updated successfully, but these errors were encountered: