Publish Lambda Layer ARN publicly across all regions instead of SAR App #329
-
What were you trying to accomplish? Expected BehaviorCurrent BehaviorPossible SolutionSteps to Reproduce (for bugs)Environment
# paste logs here |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Is this actually an issue? You can install the app from any region while referencing eu-west-1. |
Beta Was this translation helpful? Give feedback.
-
It is not a bug, but a desired feature that is missing. I can install it, but when deploying a lambda function, I cannot reference the layer by its ARN. Lambda requires the layer to be in the same region. If I'm not using SAM, the alternative is to pip install it locally and build a layer from the installed packages. It would be very nice if there were an ARN for each region. I also had problems finding the version. |
Beta Was this translation helpful? Give feedback.
-
@ecolban do you mind adding that context to the description of the issue? That would make it easier to understand the request that you have. In general, an issue that is clear of what you expect and what you considered etc is more likely to get resolved more quickly. |
Beta Was this translation helpful? Give feedback.
-
Hey @ecolban, if I'm understanding you correctly, you want AWS to publish Lambda Layer ARNs for all AWS regions so that you can consume them directly instead of deploying a SAR App - Did I get this right?
If that's the case, we won't be able to do that at this stage until Lambda Layers support Aliases or any mechanism in which we could honour semantic versioning to match what's on PyPi - Please reach out to your AWS representative for this feature, or AWS Developer Advocates using That is why we chose SAR as a distribution mechanism because it supports semantic versioning and we can match SAR App with what's on our source of truth (PyPi). The SAR App is distributed globally despite the region prefix, and it deploys a Lambda Layer in the region of your choosing, which you can then ref in your favourite deployment framework. PS: I've changed from bug to feature request Thanks. |
Beta Was this translation helpful? Give feedback.
-
Yes, I agree it should be a feature request and not a bug. Note that I found a layer ARN here, but I would have preferred it being provided by you. |
Beta Was this translation helpful? Give feedback.
-
This is now finally available: https://awslabs.github.io/aws-lambda-powertools-python/latest/#public-arns We're deploying across all regions now and should take some time for it to be available. SAR will continue to be available due to support for semantic versions that's not supported in Lambda Layers. |
Beta Was this translation helpful? Give feedback.
This is now finally available: https://awslabs.github.io/aws-lambda-powertools-python/latest/#public-arns
We're deploying across all regions now and should take some time for it to be available. SAR will continue to be available due to support for semantic versions that's not supported in Lambda Layers.