-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Is your feature request related to a problem? Please describe.
We are trying to automate Lambda Layer updates in our CI/CD pipelines but cannot find a suitable way of tracking versions of the ADOT lambda layer. Specifically we'd like a way to do this programatically, so that in a pipeline we can see if an out-of-date lambda layer version is being used in a deployment.
We'd also tried thelambda:ListLayerVersions
command of the AWS CLI but unfortunately, "no resource-based policy allows the lambda:ListLayerVersions action".
Describe the solution you'd like
A simple way to track versions of the ADOT Lambda Layer via an API (or published in some way that is easy enough for a machine on the internet to read π )
Describe alternatives you've considered
- See comment above re
lambda:ListLayerVersions
command in AWS CLI being unsuitable. - A clunky way to check versions could be to use the get-layer-version AWS CLI command and increment the version parameter until you find a version that doesn't exist. An issue with this could be with the way ADOT layers appear to be versioned, e.g.
aws-otel-java-wrapper-amd64-ver-1-32-0:6
, there is a version specified in the layer name, as well as in the version suffix.
Additional context
None
Thanks in advance for any advice you can offer.