Skip to content

S3-Deployment-Assets : update python version on BucketDeployment handler #16669

@aritranagnordcloud

Description

@aritranagnordcloud

General Issue

Based on the description , We can see that Older Python version 3.6 is currently enabled which will be no longer supported soon.

Documentation
The custom resource is implemented in Python 3.6 in order to be able to leverage the AWS CLI for "aws s3 sync". The code is under lib/lambda and unit tests are under test/lambda.

This package requires Python 3.6 during build time in order to create the custom resource Lambda bundle and test it. It also relies on a few bash scripts, so might be tricky to build on Windows.

Resolution
Need to update the Lambda Python version having more than 3.6

Environment

CDK CLI Version: 1.119.0
Framework Version: 2.0.0rc18
Node.js Version: 16.6.1
OS: macOS Big Sur 11.4
Language (Version): Python 3.8.11

Other information

Lambda is configured with 3.6 version which has reached the EOF and will not longer be supported soon

Metadata

Metadata

Assignees

Labels

effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions