Skip to content

chore(s3): upgrade S3BucketNotifications Lambda to python3.11#29506

Merged
mergify[bot] merged 4 commits intoaws:mainfrom
yerzhan7:s3-event-notifications-lambda-upgrade
Mar 15, 2024
Merged

chore(s3): upgrade S3BucketNotifications Lambda to python3.11#29506
mergify[bot] merged 4 commits intoaws:mainfrom
yerzhan7:s3-event-notifications-lambda-upgrade

Conversation

@yerzhan7
Copy link
Copy Markdown
Contributor

Issue # (if applicable)

Closes D122674750.

Reason for this change

This Lambda does not work in new regions.

Description of changes

Current S3BucketNotifications Custom Resource Lambda python3.9 uses botocore version 1.29.90 which does not have S3 endpoint information for new regions.

Upgrading to python3.11 which has botocore version 1.30.1. See more in D122674750.

Note that we cannot upgrade to python3.12 because it's not available in all regions yet.

Description of how you validated changes

N/A.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team March 15, 2024 14:42
@github-actions github-actions bot added p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK labels Mar 15, 2024
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 15, 2024
Copy link
Copy Markdown
Contributor

@aaythapa aaythapa left a comment

Choose a reason for hiding this comment

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

Changes LGTM

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 15, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 15, 2024
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 30ab21f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 3d14b3b into aws:main Mar 15, 2024
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 15, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@yerzhan7 yerzhan7 deleted the s3-event-notifications-lambda-upgrade branch March 16, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants