β 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
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: