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
Unable to load .yaml config file: "No such file or directory (os error 2)" when deployed by AWS Lambda
I have been trying to deploy using the Zip file strategy as described in the Maplibre documentation for running with Lambda. However, I'm encountering an issue where the Lambda function cannot find the .yaml configuration file, although it is present in my deployment package.
Here's how my root folder in Lambda looks, including the hello.handler.yaml file:
When I try to run the function via the Function URL, it returns an 'internal error'. Here are the logs:
Unable to load
.yaml
config file: "No such file or directory (os error 2)" when deployed by AWS LambdaI have been trying to deploy using the Zip file strategy as described in the Maplibre documentation for running with Lambda. However, I'm encountering an issue where the Lambda function cannot find the
.yaml
configuration file, although it is present in my deployment package.Here's how my root folder in Lambda looks, including the
hello.handler.yaml
file:When I try to run the function via the Function URL, it returns an 'internal error'. Here are the logs:
Additionally, I have attached the log file for more detailed information:
log-events-viewer-result.csv
Can someone help me resolve this issue?
The text was updated successfully, but these errors were encountered: