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

[Enhancement]: Add Python3.11 Support for Lambda Layer Compatible Runtimes #32777

Closed
gbeaven-uturn opened this issue Jul 31, 2023 · 3 comments
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.

Comments

@gbeaven-uturn
Copy link

Description

The documentation for the aws_lambda_layer_version resource on the compatible_runtimes argument states:

compatible_runtimes - (Optional) List of Runtimes this layer is compatible with. Up to 5 runtimes can be specified.

The AWS list of Runtimes shows Python3.11 as a supported type, however, referring to that runtime in the Terraform resource results in a Terraform error:

Error: expected compatible_runtimes.1 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

Affected Resource(s) and/or Data Source(s)

aws_lambda_layer_version

Potential Terraform Configuration

resource "aws_lambda_layer_version" "lambda_layer" {
  filename   = "lambda_layer_payload.zip"
  layer_name = "lambda_layer_name"

  compatible_runtimes = ["python3.11"]
}

References

No response

Would you like to implement a fix?

No

@gbeaven-uturn gbeaven-uturn added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 31, 2023
@github-actions github-actions bot added the service/lambda Issues and PRs that pertain to the lambda service. label Jul 31, 2023
@github-actions
Copy link

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 Jul 31, 2023
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Jul 31, 2023
@ewbankkit
Copy link
Contributor

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

@github-actions
Copy link

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 Aug 31, 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

2 participants