-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
β NOTICE (lambda): importing Functions
with fromFunctionArn
removes trailing version or alias from ARN
#30008
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
management/tracking
Issues that track a subject or multiple issues
p0
Comments
colifran
added
management/tracking
Issues that track a subject or multiple issues
p0
labels
Apr 29, 2024
colifran
changed the title
β NOTICE (lambda): importing
β NOTICE (lambda): importing Apr 29, 2024
Functions
with fromFunctionArn
removes trailing version / alias from ARNFunctions
with fromFunctionArn
removes trailing version or alias from ARN
We released a patch release https://github.com/aws/aws-cdk/releases/tag/v2.139.1 that contains the fix of this issue. |
|
This was referenced May 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
management/tracking
Issues that track a subject or multiple issues
p0
Please add your +1 π to let us know you have encountered this
Status
In-Progress
What is the issue?
This PR introduced a change to the static
fromFunctionArn
method that removes any trailing version or alias from the specified function ARN. As a result, thefunctionArn
property forFunctions
imported withfromFunctionArn
will no longer include their version or alias.What is the impact?
Functions
imported using the staticfromFunctionArn
method will have their version or alias removed. As a result, thefunctionArn
property forFunctions
imported withfromFunctionArn
will be the raw ARN without theFunction
version or alias.Workaround
No response
Who is affected?
Users importing
Functions
with a version or alias specificFunction
ARN via thefromFunctionArn
static method.How do I resolve this?
This has been resolved in patch release v2.139.1. This PR reverts the initial code change.
Related issues
No response
The text was updated successfully, but these errors were encountered: