Aws-toolkit-jetbrains: PyCharm: Can't create new Lambda function from app.py file

Created on 11 Apr 2019  路  1Comment  路  Source: aws/aws-toolkit-jetbrains

Describe the bug

After I open my new project's app.py file, I can't figure out how to create a new AWS Lambda function from there.

To reproduce

  1. Open PyCharm.
  2. File, New Project.
  3. AWS Serverless Application, use default project settings, Create, This Window.
  4. Open app.py file.
  5. Can't figure out how to create a new AWS Lambda function from here.

Expected behavior

Next to def lambda_handler(event, context):, when I click the Lambda icon in the gutter, I expect to see an option that I can choose to create a new AWS Lambda function. (I can do something similar in IntelliJ.)

Your Environment

  • OS: Ubuntu Server 18.04.2 LTS
  • JetBrains' Product: PyCharm
  • JetBrains' Product Version: 2019.1
  • Toolkit Version: 1.3-EAP.2019.04.11
  • SAM CLI Version: 0.14.2
  • JVM/Python Version: 3.6.7
bug

Most helpful comment

The documentation page about this is really lacking. It does not even mention there should be an existing project in the first place, or if so, how to add that. And it is not clear what Handler field excepts either. No idea why I have to type in a method signature manually to locate the handler_function?

>All comments

The documentation page about this is really lacking. It does not even mention there should be an existing project in the first place, or if so, how to add that. And it is not clear what Handler field excepts either. No idea why I have to type in a method signature manually to locate the handler_function?

Was this page helpful?
0 / 5 - 0 ratings