honeycombio / agentless-integrations-for-aws

Lambda-based AWS integrations for Honeycomb
Apache License 2.0
48 stars 24 forks source link

Support provided.al2 runtime in place of deprecated Go1.x #218

Closed robwdux closed 1 year ago

robwdux commented 1 year ago

Is your feature request related to a problem? Please describe.

deprecated Go1.x runtime

Describe the solution you'd like

Set Lambda runtime as provided.al2 and not get runtime errors.

relates to https://github.com/honeycombio/agentless-integrations-for-aws/issues/142

Using the provided.al2 runtime offers several benefits over the go1.x runtime. First, it supports running Lambda functions on AWS Graviton2 processors, offering up to 34% better price-performance compared to functions running on x86_64 processors. Second, it offers a streamlined implementation with a smaller deployment package and faster function invoke path.

https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/

Describe alternatives you've considered

n/a

Additional context

Errors encountered when attempting to use provided.al2 runtime in lieu of Go1.x

RequestId: 08093629-5cdb-4caa-bf83-cfab152ad2bd Error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]
Runtime.InvalidEntrypoint