Skip to content

Published ARN Names should Include Release Version and "Elastic" #110

@astorm

Description

@astorm

Currently, our build scripts create an extension ARN with a name like

arn:aws:lambda:us-west-2:123456789123:layer:apm-lambda-extension:80

Amazon automatically embeds the layer version into this ARN (above this is 80)

We'd like to include the version of the Lambda extension in this layer as well. That is, if we were publishing version 0.0.3 of the extension, we would want to end up with layer name that looked like

arn:aws:lambda:us-west-2:123456789123:layer:elastic-apm-lambda-extension-ver-0-0-3:80

The intent of this change would be to tie the name of the ARN with the version of the extension, allowing us to quickly identify which version of the extension's being used without keeping an "ARN version to Extension version" map. It would also bring us in line with what ADOT does with its OpenTelemetry layers (example)

If this isn't possible we'd like to include the extension version in the table we're publishing of the ARNs so that a specific ARN can be mapped back to a specific extension version.

  • Are we including the extension version in the ARN name, or are we publishing the layer version alongside the ARN in the ASCII doc table
  • Do what we're doing 🤠

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions