This repository was archived by the owner on Jan 8, 2024. It is now read-only.
arm64
function support for aws-lambda
deployments
#3026
Labels
Milestone
Is your feature request related to a problem? Please describe.
(This feels like half feature request and half problem.)
I'm on an M1 Max macbook pro and running
waypoint up
With 0 docker config, Waypoint appears to build an
arm64
imageImage built: waypoint.local/waypoint-apollo-lambda:latest (arm64)
But Waypoint also appears to deploy a lambda function with a fixed
x86_64
arch, regardless of the Docker image arch.This is my
waypoint.hcl
After deployment (and working around #2066), visiting the loadbalancer URL returns a 502 Bad Gateway.
Describe the solution you'd like
An option in the
aws-lambda
config, likeplatform
... and potentially a warning prompt if there is any arch mismatch between
docker {}
andaws-lambda {}
Describe alternatives you've considered
Alternative no. 1 — use
amd64
Docker image(This works in the
build
stanza, but is a compromise because the end result is anamd64
image on ax86_64
function)Alternative no. 2 — manually update lambda arch and additional follow up steps.
(This is closer to ideal —
arm64
image onarm64
function — but there is manual clicking involved.)arm64
and find the properarm64
ECR imageThis causes a temporary
503
Explain any additional use-cases
Additional context
Here are some related logs for an
arm64
image running onx86_64
function archThe text was updated successfully, but these errors were encountered: