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

[Bug]: AWS Lambda - Python 3.11 Runtime #32817

Closed
SuperP4rks opened this issue Aug 2, 2023 · 4 comments
Closed

[Bug]: AWS Lambda - Python 3.11 Runtime #32817

SuperP4rks opened this issue Aug 2, 2023 · 4 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.

Comments

@SuperP4rks
Copy link

Terraform Core Version

1.5.4

AWS Provider Version

5.10

Affected Resource(s)

Hi AWS,

Lambda release Python 3.11, however terraform has a condition to not accept it as a value. Can we add to the next release update python3.11

Error:

Error: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x python3.10 java17 ruby3.2], got python3.11

Expected Behavior

Conditional Access deploy a version python3.11

Actual Behavior

Conditional Rejects deploying a version python3.11

Relevant Error/Panic Output Snippet

Error:

Error: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x python3.10 java17 ruby3.2], got python3.11

Terraform Configuration Files

runtime = "python3.11"

Steps to Reproduce

runtime = "python3.11"

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@SuperP4rks SuperP4rks added the bug Addresses a defect in current functionality. label Aug 2, 2023
@github-actions
Copy link

github-actions bot commented Aug 2, 2023

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 2, 2023
@SuperP4rks SuperP4rks changed the title [Bug]: [Bug]: Python 3.11 Runtime Aug 2, 2023
@SuperP4rks SuperP4rks changed the title [Bug]: Python 3.11 Runtime [Bug]: AWS Lambda - Python 3.11 Runtime Aug 2, 2023
@trevorrea
Copy link
Contributor

It's already been completed for release in 5.11.0 via #32729

@ewbankkit ewbankkit added enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service. and removed bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Aug 3, 2023
@ewbankkit
Copy link
Contributor

Relates #32726.
Relates #32764.
Relates #32777.
Closed via #32729.

@github-actions
Copy link

github-actions bot commented Sep 3, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

No branches or pull requests

3 participants