You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish Lambda Layer ARN publicly across all regions instead of SAR App #216
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.
@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.
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?
For example: arn:aws:lambda:<Region>:<AccountId>:layer:aws-lambda-powertools:<Version>
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 #awswishlist on Twitter.
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.
changed the title [-]Layer exists only for eu-west-1. No layer for other regions[/-][+]Publish Lambda Layer ARN publicly across all regions[/+]on Jan 13, 2021
changed the title [-]Publish Lambda Layer ARN publicly across all regions[/-][+]Publish Lambda Layer ARN publicly across all regions instead of SAR App[/+]on Mar 3, 2021
Activity
mwarkentin commentedon Nov 24, 2020
Is this actually an issue? You can install the app from any region while referencing eu-west-1.
ecolban commentedon Nov 24, 2020
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.
Nr18 commentedon Nov 24, 2020
@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.
heitorlessa commentedon Nov 24, 2020
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
#awswishliston Twitter.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.
ecolban commentedon Nov 28, 2020
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.
[-]Layer exists only for eu-west-1. No layer for other regions[/-][+]Publish Lambda Layer ARN publicly across all regions[/+][-]Publish Lambda Layer ARN publicly across all regions[/-][+]Publish Lambda Layer ARN publicly across all regions instead of SAR App[/+]