powertools-lambda-typescript icon indicating copy to clipboard operation
powertools-lambda-typescript copied to clipboard

Bug: Lambda layer not found in particular region (`eu-west-1`)

Open H1Gdev opened this issue 1 year ago • 1 comments

Expected Behavior

AWSLambdaPowertoolsTypeScript Lambda layers can be added correctly in eu-west-1.

For reference, it exists in eu-west-2, us-east-1 and ap-northeast-1.

Current Behavior

Failed to load layer version details: The resource you requested does not exist.
Layer version arn:aws:lambda:eu-west-1:094274105915:layer:AWSLambdaPowertoolsTypeScript:12 does not exist.

Code snippet

      Layers:
        - !Sub arn:aws:lambda:${AWS::Region}:094274105915:layer:AWSLambdaPowertoolsTypeScript:12

Steps to Reproduce

cd sam-app
sam build
sam deploy

Possible Solution

No response

Powertools for AWS Lambda (TypeScript) version

1.8.0

AWS Lambda function runtime

18.x

Packaging format used

Lambda Layers

Execution logs

Failed to load layer version details: The resource you requested does not exist.

H1Gdev avatar Jun 27 '24 00:06 H1Gdev

Hi @H1Gdev,

We are investigating this issue in the Ireland region as we speak (all other regions are unaffected). We'll come back to you as soon as we have confirmation from the Lambda team.

Until we conclude our investigation, we've created a new v1 Layer with the exact same versions, i.e. in your case it'd be arn:aws:lambda:eu-west-1:094274105915:layer:AWSLambdaPowertoolsTypeScriptV1:12.

dreamorosi avatar Jun 27 '24 07:06 dreamorosi

Hi @H1Gdev, thank you for also opening a Premium Support Case about this.

We’ve informed Support that these layers were accidentally deleted in Ireland and have been recovered since yesterday.

dreamorosi avatar Jul 02 '24 15:07 dreamorosi

⚠️ COMMENT VISIBILITY WARNING ⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Jul 02 '24 15:07 github-actions[bot]