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
When you run sst deploy from your local machine, Docker seems to build for your local machine rather than the architecture of the target lambda function. I'm running an M1 Macbook and when I deployed the Lambda with sst deploy it resulted in the lambda not being able to be run.
When the same code was deployed from a machine with the same architecture as the lambda, the lambda worked as expected.
When you run
sst deploy
from your local machine, Docker seems to build for your local machine rather than the architecture of the target lambda function. I'm running an M1 Macbook and when I deployed the Lambda withsst deploy
it resulted in the lambda not being able to be run.When the same code was deployed from a machine with the same architecture as the lambda, the lambda worked as expected.
Maybe an additional flag needs to be passed to docker to ensure its built with the same architecture as the lambda.
The text was updated successfully, but these errors were encountered: