aws-otel-lambda
aws-otel-lambda copied to clipboard
Publish layer to more regions
Is your feature request related to a problem? Please describe.
I can't use the official layer in my Lambda functions because it is not published in the af-south-1
region. The problem is even worse for the ARM64 layer as it is published to fewer regions
Describe the solution you'd like
- Publish the official AMD64 layer to these regions:
- af-south-1
- eu-south-1
- Publish the official ARM64 layer to these regions:
- us-west-1
- eu-west-3
- eu-north-1
- eu-south-1
- ca-central-1
- af-south-1
- sa-east-1
Describe alternatives you've considered
- Build from source and publish as a custom layer
- Publish a copy of an official layer in another region as a custom layer in the desired region
To publish a copy of the official layer as a custom layer:
- Get the S3 URL for the custom layer
- Get the ARN for the custom layer in a supported region
- AMD64:
arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-nodejs-amd64-ver-1-6-0:1
- ARM64:arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-nodejs-arm64-ver-1-6-0:1
- Get the S3 URL for the layer:
aws --region us-east-1 lambda get-layer-version-by-arn --arn <arn> --query Content.Location --output text
- Download the layer:
curl -o layer.zip <url>
- Publish the layer in your own account in the desired region:
aws --region <desired-region> lambda publish-layer-version --layer-name "aws-otel-nodejs-<arch>" --compatible-runtimes nodejs12.x nodejs14.x nodejs16.x --compatible-architectures <arch> --zip-file fileb://layer.zip
Is it possible to publish layer to cn-north-1
region also?
Thank you for creating this issue, we are currently working on to support more regions and shall update the correspondence here with any developments.
Please find the supported regions for ADOT Lambda Layers for amd64 and arm64
This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled
This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled
This issue is still relevant. Thanks!
This issue is stale because it has been open 90 days with no activity. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled
This issue was closed because it has been marked as stale for 30 days with no activity.