Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
svozza opened this issue Oct 10, 2024 · 5 comments · Fixed by #5360
Closed
1 task done

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

svozza opened this issue Oct 10, 2024 · 5 comments · Fixed by #5360
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@svozza
Copy link

svozza commented Oct 10, 2024

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.
@svozza svozza added documentation Improvements or additions to documentation triage Pending triage from maintainers labels Oct 10, 2024
Copy link

boring-cyborg bot commented Oct 10, 2024

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

@dreamorosi dreamorosi moved this from Triage to Backlog in Powertools for AWS Lambda (Python) Oct 10, 2024
@dreamorosi dreamorosi removed the triage Pending triage from maintainers label Oct 10, 2024
@dreamorosi
Copy link
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).

@svozza
Copy link
Author

svozza commented Oct 10, 2024

Thank you!

@dreamorosi dreamorosi moved this from Backlog to Working on it in Powertools for AWS Lambda (Python) Oct 10, 2024
@dreamorosi dreamorosi self-assigned this Oct 10, 2024
@dreamorosi dreamorosi moved this from Working on it to Pending review in Powertools for AWS Lambda (Python) Oct 10, 2024
@dreamorosi dreamorosi linked a pull request Oct 10, 2024 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from Pending review to Coming soon in Powertools for AWS Lambda (Python) Oct 10, 2024
Copy link
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.

@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Oct 10, 2024
Copy link
Contributor

This is now released under 3.2.0 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Coming soon
Development

Successfully merging a pull request may close this issue.

2 participants