aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 179 forks source link

AWS Eclipse Toolkit does not list Lambda with AWS Runtime Java 11 #255

Closed mihai1git closed 1 year ago

mihai1git commented 1 year ago

Hello,

I'm using AWS Eclipse Toolkit to build Lambda packages and deploy them in AWS Lambda service.

The option "Upload function to AWS Lambda", does not list (in drop-down "Choose an existing lambda function") all Lambda functions from the AWS account and zone, when the AWS Runtime of the Lambda is Java 11 (Correto). When the AWS Runtime is Java 1.8, the Lambda appears in the Eclipse drop-down (please see attachments).

existingLambdaMissing existingLambdaPresent

The Eclipse IDE (Version: 2018-12 (4.10.0) Build id: 20181214-0600) is running using Java 1.8, while the Lambda function is compiled with Java 11.

There are some features that I need in Java 11 for this Lambda, so how could I make the deploy ?

Thank you, Mihai

JadenSimon commented 1 year ago

Thanks for the report!

This appears to be a duplicate of #208. To summarize, the Toolkit does not support Java 11 Lambdas. Feel free to re-open this issue if the aforementioned issue does not cover your use-case(s).