Skip to content

Maintenance: cn-north-1 lambda layer is not publicly available #7975

Closed
5 of 6 issues completed
Closed

Description

@dsheehan

Expected Behaviour

Lambda layer for power tools is publicly available in cn-north-1 region.

This was advertised as a big feature of the v3.16.0 release:
https://github.com/aws-powertools/powertools-lambda-python/releases/tag/v3.16.0

We are thrilled to announce that Powertools for AWS Lambda (Python) now offers AWS Lambda layers in the AWS China region cn-north-1.

And described here in the getting started: https://docs.aws.amazon.com/powertools/python/latest/getting-started/install/#aws-china-regions

arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:27

aws --region cn-north-1 lambda get-layer-version-by-arn --arn "arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:27"

An error occurred (AccessDeniedException) when calling the GetLayerVersionByArn operation: User: REDACTED is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:27 because no resource-based policy allows the lambda:GetLayerVersion action

By comparison, OTel in cn-north-1 works fine:
aws --region cn-north-1 lambda get-layer-version-by-arn --arn "arn:aws-cn:lambda:cn-north-1:440179912924:layer:AWSOpenTelemetryDistroPython:7"

Current Behaviour

Lambda layer for power tools is not publicly available in cn-north-1 region.

Code snippet

aws --region cn-north-1 lambda get-layer-version-by-arn --arn "arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:27"

Possible Solution

Ensure the layer ARN is published publicly.

Steps to Reproduce

aws --region cn-north-1 lambda get-layer-version-by-arn --arn "arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:27"

Powertools for AWS Lambda (Python) version

27

AWS Lambda function runtime

3.12

Packaging format used

Lambda Layers

Debugging logs

Activity

  1. changed the title [-]Bug: cn-north-1 lambda layer is not publicly available[/-] [+]Maintenance: `cn-north-1` lambda layer is not publicly available[/+] on Sep 4, 2026
  2. dreamorosi commented on Sep 4, 2026

    @dreamorosi
    Contributor

    The latest version of the Lambda layers (v37) are now available in the cn-north-1 region at the following ARNs:

    Region Architecture Layer ARN
    cn-north-1 x86_64 arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:37
    cn-north-1 ARM64 arn:aws-cn:lambda:cn-north-1:498634801083:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:37

    We're still working to restore our pipelines so that docs reflect the new ARNs and future releases don't drift again and this work is captured in the child issues, however the Lambda layers are already available to be attached, so I'm closing this issue as completed.

  3. powertools-for-aws-oss-automation commented on Sep 4, 2026

    @powertools-for-aws-oss-automation

    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 reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

layersLambda Layers work

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions