cerbos / cerbos-aws-lambda

Gateway service implements AWS Lambda runtime and invokes Cerbos server API hosted in the same AWS Lambda instance.
Apache License 2.0
16 stars 5 forks source link

arm64 not supported in all AWS regions #3

Open alexolivier opened 2 years ago

alexolivier commented 2 years ago

based on the lambda pricing page arm64 is NOT available in the the following regions: af-south-1, ap-east-1, ap-northeast-2, ap-northeast-3, ca-central-1, eu-south-1, eu-west-3, eu-north-1, me-south-1, sa-east-1, and us-west-1

This causes an issue if you build the image on an M1 mac and try to deploy in these regions

dbuduev commented 2 years ago

We probably should explore the option of Deploying Lambda functions as .zip file archives instead of container images. In that case, we can always build for the x86_64 architecture.