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

feat(lambda-layer): add pipeline to build Lambda layer in v3 #4826

Merged

Conversation

leandrodamascena
Copy link
Contributor

@leandrodamascena leandrodamascena commented Jul 25, 2024

Issue number: #3859

Summary

Changes

This PR creates the v3 pipeline to accommodate the build and deployment of the Powertools Lambda layer in Python versions from 3.8 to 3.12, and also:

  • Adds a section to explain how to build and deploy the layers
  • Modifies the files to use the new layer format
  • Updates the homepage to display all the layer versions according to the Python versions.

New names

The names of the Lambda Layer and SAR will be:

Powertools V3 Layer name: arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python{pythonversion}-{x86/arm64}:layer-version

Powertools V3 SAR name: aws-lambda-powertools-python-layer-v3-python{version}-{x86/arm64}

User experience

image

image

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner July 25, 2024 23:23
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation github-actions Pull requests that update Github_actions code labels Jul 25, 2024
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 25, 2024
@github-actions github-actions bot added internal Maintenance changes and removed documentation Improvements or additions to documentation labels Jul 25, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

2 similar comments
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 26, 2024
@leandrodamascena leandrodamascena linked an issue Jul 26, 2024 that may be closed by this pull request
2 tasks
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 26, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@leandrodamascena
Copy link
Contributor Author

Missing items:

  • SAR v3
  • Modify CDK Layer Stack
  • Tests with beta accounts
  • Tests with documentation ARN replace

Copy link
Contributor Author

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need an initial review @dreamorosi and @heitorlessa! Please do not merge this PR.

docs/automation.md Outdated Show resolved Hide resolved
docs/index.md Show resolved Hide resolved
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 26, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 26, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 26, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 29, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 29, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 29, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 29, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 29, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 30, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 30, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 30, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 30, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

Copy link

@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jul 30, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jul 30, 2024
Copy link
Contributor

⚠️Large PR detected⚠️

Please consider breaking into smaller PRs to avoid significant review delays. Ignore if this PR has naturally grown to this size after reviews.

@leandrodamascena leandrodamascena merged commit 0f610dc into aws-powertools:v3 Jul 30, 2024
14 of 16 checks passed
@leandrodamascena leandrodamascena deleted the ci/pipeline-for-v3 branch July 30, 2024 18:17
@github-actions github-actions bot added the pending-release Fix or implementation already in dev waiting to be released label Aug 21, 2024
Copy link
Contributor

This is now released under 3.0.0 version!

@github-actions github-actions bot removed the pending-release Fix or implementation already in dev waiting to be released label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commons feature New feature or functionality github-actions Pull requests that update Github_actions code size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Create a Powertools Lambda layer for each Python version
2 participants