Skip to content

Lambda Insights has incorrect ARN for 1.0.229 in us-west-1 on ARM64 #26615

@chuanconggao

Description

@chuanconggao

Describe the bug

In public doc and CDK, it mentions Lambda layer ARN of version 5 for 1.0.229 in us-west-1 on ARM64
arn:aws:lambda:us-west-1:580247275435:layer:LambdaInsightsExtension-Arm64:5

However, I am getting CFN error like below only in us-west-1

... is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:us-west-1:580247275435:layer:LambdaInsightsExtension-Arm64:5 because no resource-based policy allows the lambda:GetLayerVersion action ...

It seems version 5 actually does not exist, and only version 3 exists in us-west-1 on ARM64, based on verification in Lambda console.

Expected Behavior

Able to use Lambda Insights 1.0.229 in us-west-1 on ARM64

Current Behavior

Not able to deploy

Reproduction Steps

As mentioned above

Possible Solution

Either fix Lambda layer ARN to version 3 or actually upgrade to version 5

Additional Information/Context

No response

CDK CLI Version

2.88

Framework Version

No response

Node.js Version

18

OS

macOS

Language

Typescript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-lambdaRelated to AWS LambdabugThis issue is a bug.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions