aws-samples / amazon-transcribe-live-meeting-assistant

MIT No Attribution
77 stars 27 forks source link

Publish script hangs in lma-ui-stack in sam build when using arm64 container image, on new EC2 and Cloud9 instances #124

Closed rstrahan closed 1 month ago

rstrahan commented 1 month ago

Describe the bug

See Issue in LCA project: Failing Mounting call_event_processor #189

Build hangs appear to be a recent docker reliability issue running an arm64 container from sam build, on an x86 machine. The fix is to use an x86 docker image in sam build, using the --build-image arg - it appears that it works to use an x86 container to build the arm64 lambda function and lambda layer artifacts. Fix is in the lma-ai-stack Makefile:

sam build \ --use-container \ --build-image public.ecr.aws/sam/build-python3.12:latest-x86_64 \ --parallel \ --cached \ --template-file 'out/template-replaced-bobs-artifacts-us-east-1-lma-python312_0.9.2_lca-ai-stack-0.9.2.yaml'

Also updates all Lambda functions to use python3.12

rstrahan commented 1 month ago

Fixed in v0.2.2