Skip to content

Docs: SAR lambda layer documentation uses incorrect version of Powertools #5359

Closed

Description

@svozza

What were you searching in the docs?

When attempting to deploy the SAR lambda layer in one of my accounts, I copied the CFN from the docs and it was pointing to v3.0.0:

AwsLambdaPowertoolsPythonLayer:
      Type: AWS::Serverless::Application
      Properties:
          Location:
              ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-python312-x86_64
              SemanticVersion: 3.0.0 # change to latest semantic version available in SAR

However, this resulted in a CFN error that said that the version was not available. Upon checking, it appears that SAR only supports v2 of Powertools currently.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/#sar

How can we improve?

Set the version in the code example to a 2.x version.

Got a suggestion in mind?

No response

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.

Activity

  1. added
    documentation
    triage
    on Oct 10, 2024
  2. boring-cyborg commented on Oct 10, 2024

    @boring-cyborg

    Thanks for opening your first issue here! We'll come back to you as soon as we can.
    In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

  3. removed
    triage
    on Oct 10, 2024
  4. dreamorosi commented on Oct 10, 2024

    @dreamorosi
    Contributor

    Hi @svozza, thank you for opening this issue.

    We'll get this fixed and published soon.

    In parallel, we'll also continue working to get v3 published in SAR (#5221).

  5. svozza commented on Oct 10, 2024

    @svozza
    Author

    Thank you!

  6. moved this from Backlog to Working on it in Powertools for AWS Lambda (Python)on Oct 10, 2024
  7. self-assigned this
    on Oct 10, 2024
  8. moved this from Working on it to Pending review in Powertools for AWS Lambda (Python)on Oct 10, 2024
  9. github-actions commented on Oct 10, 2024

    @github-actions
    Contributor

    ⚠️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.

  10. added
    pending-release
    on Oct 10, 2024
  11. github-actions commented on Oct 22, 2024

    @github-actions
    Contributor

    This is now released under 3.2.0 version!

  12. removed
    pending-release
    on Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions