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
To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.
Describe the bug
I'm deploying the application to an aws account in us-east-1, I'm running this from my local (not through cloudshell) using cdk deploy --require-approval never --all
While deploying the BedrockChatStack I'm hitting the following issue:
BedrockChatStack | 11:43:53 | CREATE_FAILED | AWS::Lambda::Version | BackendApi/HandlerV2/CurrentVersion (BackendApiHandlerV2CurrentVersion28FAABFCab799a485617eb22be6de9714fee4547) Resource handler returned message: "Resource of type 'AWS::Lambda::Version' with identifier 'arn:aws:lambda:us-east-1:485442427944:function:BedrockChatStack-BackendApiHandlerV263FCB936-91dafWH7nnRI:1' did not stabilize. Status Reason is An error occurred during function initialization." (RequestToken: 14808d81-45c0-938a-bd13-167a30aeb286, HandlerErrorCode: NotStabilized)
Looking at the lambda logs in cloudwatch its saying the run.sh file cannot be found
2024-12-18T11:43:25.184Z | INIT_START Runtime Version: python:3.12.v38 Runtime Version ARN: arn:aws:lambda:us-east-1::runtime:7515e00d6763496e7a147ffa395ef5b0f0c1ffd6064130abb5ecde5a6d630e86
| 2024-12-18T11:43:25.243Z | /opt/bootstrap: line 3: /var/task/run.sh: cannot execute: required file not found
🚨 Please Note 🚨
To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.
Describe the bug
I'm deploying the application to an aws account in us-east-1, I'm running this from my local (not through cloudshell) using
cdk deploy --require-approval never --all
While deploying the BedrockChatStack I'm hitting the following issue:
Looking at the lambda logs in cloudwatch its saying the
run.sh
file cannot be foundI understand the code matches the example that is used on the library 'fastapi-zip' that is used here:
https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/fastapi-zip
so I cannot understand why it is failing.
To Reproduce
cdk deploy --require-approval never --all
into the target accountScreenshots
When viewing the lambda function before it gets deleted I can see the files in the directory look correct:
Additional context
Seems to be failing since the merge 3 weeks ago #611
The text was updated successfully, but these errors were encountered: