AWS Lambda with Layer Imports

I have a project with AWS Lambdas that share an AWS Lambda Layer. When I import functions from the Layer, IntelliJ isn't able to find the source and provide intellisense.

IntelliJ could look at the template.yml that all AWS Lambda Applications use to find the layer info.

Is there a way to make IntelliJ's intellisense work with AWS Lambda Layers?

0
2 comments

There is no way to do this unfortunately

This can be a feature request for  AWS Toolkit for WebStorm plugin that is officially recommended for working  with AWS Lambda functions in Jetbrains IDEs, see https://docs.aws.amazon.com/toolkit-for-jetbrains/latest/userguide/welcome.html

1

Elena Pogorelova I opened a ticket with them.

https://github.com/aws/aws-toolkit-jetbrains/issues/3020

I noticed that Jetbrains has their own AWS CloudFormation plugin. It might make sense to add this functionality to that plugin since it already parses Layer references(!Ref) and AWS Lambda Application are CloudFormation projects. The template.yml is a CloudFormation config.

0

Please sign in to leave a comment.