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

Lambda Runtime Version ARNs? #3735

Closed
2 tasks
DilLip-Chowdary-Codes opened this issue May 31, 2023 · 6 comments
Closed
2 tasks

Lambda Runtime Version ARNs? #3735

DilLip-Chowdary-Codes opened this issue May 31, 2023 · 6 comments
Assignees
Labels
feature-request This issue requests a feature. lambda service-api This issue is caused by the service API, not the SDK implementation.

Comments

@DilLip-Chowdary-Codes
Copy link

DilLip-Chowdary-Codes commented May 31, 2023

Describe the feature

AWS Lambda functions as a runtime management configuration that allows us to customize the runtime version for the lambda function. Still, there is no official source for referring to the runtime version arns.

In the Lambda runtime updates blog, you've mentioned looking at cloud watch logs to get the previous runtime version arn

Use Case

To get the list of versions for the runtime, it could be better if we've either a blog or provide API to list those versions

we can get previous versions from Cloudwatch, but what if I didn't invoke the lambda function in the previous version
running period, and now my lambda function runtime version was updated to the latest?

Proposed Solution

Provide the list of runtime versions available

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

aws-cli/1.27.143 Python/3.8.10 Linux/5.8.0-63-generic botocore/1.29.143

Environment details (OS name and version, etc.)

NA

@DilLip-Chowdary-Codes DilLip-Chowdary-Codes added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels May 31, 2023
@tim-finnigan tim-finnigan self-assigned this May 31, 2023
@tim-finnigan
Copy link
Contributor

Hi @DilLip-Chowdary-Codes thanks for reaching out. Does the list_versions_by_function command accomplish what you are trying to do? There is also a paginator to help get the full results.

@tim-finnigan tim-finnigan added response-requested Waiting on additional information or feedback. lambda and removed needs-triage This issue or PR still needs to be triaged. labels May 31, 2023
@DilLip-Chowdary-Codes
Copy link
Author

@tim-finnigan These return functions versions, but I'm expecting a runtime version list

@github-actions github-actions bot removed the response-requested Waiting on additional information or feedback. label Jun 1, 2023
@tim-finnigan
Copy link
Contributor

Hi @DilLip-Chowdary-Codes thanks for following up. The list_versions_by_function command returns a RuntimeVersionConfig dict which includes a RuntimeVersionArn. Does that address your use case? For tracking runtime version changes you can also refer to the CloudWatch logs as documented here.

@tim-finnigan tim-finnigan added the response-requested Waiting on additional information or feedback. label Jun 6, 2023
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jun 11, 2023
@DilLip-Chowdary-Codes
Copy link
Author

@tim-finnigan tqs for the response, But I'm expecting some kind of API or Doc which provides a list of all version ARNs

With Lambda list_versions_by_function or CloudWatch logs as documented here, we only get few runtime version ARNs those we've used, but we want all the version ARNs list

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional information or feedback. labels Jun 12, 2023
@tim-finnigan
Copy link
Contributor

Hi thanks for following up. I reached out to the Lambda team to see if they would support this. Please refer to aws/aws-sdk#552 for updates going forward, as that repository is used to track cross-SDK issues that involve service APIs.

@tim-finnigan tim-finnigan added the service-api This issue is caused by the service API, not the SDK implementation. label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature. lambda service-api This issue is caused by the service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

2 participants