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

Is there a way to specify the python version when adding a new lambda version? #13447

Closed
brigmecham opened this issue Dec 3, 2023 · 3 comments
Labels
functions Issues tied to the functions category pending-response Issue is pending response from the issue author pending-triage Issue is pending triage question General question

Comments

@brigmecham
Copy link

Amplify CLI Version

12.8.2

Question

I'd like to use python3.10 as the version for a lambda function and layer.

Is there a way to specify this when running amplify function add/update?

@brigmecham brigmecham added pending-triage Issue is pending triage question General question labels Dec 3, 2023
@ykethan
Copy link
Member

ykethan commented Dec 4, 2023

Hey @brigmecham, thank you for reaching out. Amplify CLI created a Lambda function with runtime python 3.8. Please refer to documentation providing this information.

We can modify the runtime for a function by modifying the Runtime attribute on the CloudFormation template generated under backend/function/<function-name> folder.

@ykethan ykethan added functions Issues tied to the functions category pending-response Issue is pending response from the issue author labels Dec 4, 2023
@josefaidt
Copy link
Contributor

Closing due to inactivity

@josefaidt josefaidt closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functions Issues tied to the functions category pending-response Issue is pending response from the issue author pending-triage Issue is pending triage question General question
Projects
None yet
Development

No branches or pull requests

3 participants