honeycombio / agentless-integrations-for-aws

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

chore: upgrade go1.x to provided.al2 runtime and use arm64 arch #220

Closed brookesargent closed 1 year ago

brookesargent commented 1 year ago

Which problem is this PR solving?

218

Short description of the changes

Necessary changes to the build pipeline to support upgrading to the provided.al2 runtime, using this AWS blog as guidance. AWS is deprecating go1.x on December 31st. This approach continues versioning and releasing these binaries as a unit but uploads each individual zip file to S3 and the GitHub release rather than one big ingest-handlers.zip.

Also snuck in a change from amd64 to arm64 to hopefully take advantage of the cost + performance savings Amazon mentions as a motivator for this change.

I tested the build script in isolation, the publish aws script in isolation, and tested a binary e2e to validate events still get to Honeycomb with the new runtime.