Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docs: Update Link to Layer Building Optimization #6238

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

Closed
1 task done
ChristophrK opened this issue Mar 7, 2025 · 3 comments · Fixed by #6242
Closed
1 task done

Docs: Update Link to Layer Building Optimization #6238

ChristophrK opened this issue Mar 7, 2025 · 3 comments · Fixed by #6242
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ChristophrK
Copy link
Contributor

What were you searching in the docs?

I was looking into the optimisation process that is done to the prebuild layer to copy it for my own layer building process. The current link is to a docker build in the repo powertools-lambda-layer-cdk, but the powertools-lambda-layer-cdk repo will be archived on 5th of April (aws-powertools/powertools-lambda-layer-cdk#112).

Is this related to an existing documentation section?

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

How can we improve?

[Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html){target="_blank"} is a .zip file archive that can contain additional code, pre-packaged dependencies, data, or configuration files. We compile and optimize [all dependencies](#install), and remove duplicate dependencies [already available in the Lambda runtime](https://github.com/aws-powertools/powertools-lambda-layer-cdk/blob/d24716744f7d1f37617b4998c992c4c067e19e64/layer/Python/Dockerfile#L36){target="_blank"} to achieve the most optimal size.

The link in the docs above should be changed from:

https://github.com/aws-powertools/powertools-lambda-layer-cdk/blob/d24716744f7d1f37617b4998c992c4c067e19e64/layer/Python/Dockerfile#L36

To the same docker file inside of the main repo

RUN cd /asset/python && \

Got a suggestion in mind?

I would like to implement the change in a quick PR to have my first little contribution to this great project. I would just wait for the triage to complete in accordance with the disclaimer :)

Acknowledgment

  • I understand the final update might be different from my proposed suggestion, or refused.
@ChristophrK ChristophrK added documentation Improvements or additions to documentation triage Pending triage from maintainers labels Mar 7, 2025
Copy link

boring-cyborg bot commented Mar 7, 2025

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

@leandrodamascena
Copy link
Contributor

Hey @ChristophrK! Thanks a lot for pointing out this thing in our documentation! I would love to have your contribution here and improve this part of the documentation! Please go ahead!

@leandrodamascena leandrodamascena moved this from Triage to Working on it in Powertools for AWS Lambda (Python) Mar 7, 2025
@leandrodamascena leandrodamascena removed the triage Pending triage from maintainers label Mar 7, 2025
@leandrodamascena leandrodamascena linked a pull request Mar 7, 2025 that will close this issue
7 tasks
@github-project-automation github-project-automation bot moved this from Working on it to Coming soon in Powertools for AWS Lambda (Python) Mar 7, 2025
Copy link
Contributor

github-actions bot commented Mar 7, 2025

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

@leandrodamascena leandrodamascena moved this from Coming soon to Shipped in Powertools for AWS Lambda (Python) Mar 17, 2025
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: Shipped
Development

Successfully merging a pull request may close this issue.

2 participants