You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JetBrains product version: Intellij IDEA 2020.3.2 (community Edition) Build #IC-203.7148.57
AWS Toolkit version: 1.24-203
SAM CLI version: SAM CLI, version 1.18.1
JVM/Python version: openjdk 11.0.7 2020-04-14
Question
I have created a lambda and tried to run it locally with the help of Intellij and AWS toolkit but I always get back empty invokedFunctionArn, I want to be able to read the value of invokedFunctionArn and parse it but can not do it locally.
This is what I get back when I print context as JSON
but it didn't work id I do the same thing with AWS_LAMBDA_FUNCTION_NAME it changes the functionName in the context but I can not set invokedFunctionArn
The text was updated successfully, but these errors were encountered:
amirrezaJC
added
the
guidance
General information and guidance, answers to FAQs, or recommended best practices/resources.
label
Feb 25, 2021
Your Environment
Question
I have created a lambda and tried to run it locally with the help of Intellij and AWS toolkit but I always get back empty invokedFunctionArn, I want to be able to read the value of invokedFunctionArn and parse it but can not do it locally.
This is what I get back when I print context as JSON
I have tried to set
AWS_LAMBDA_INVOKED_FUNCTION_ARN=arn:aws:lambda:us-east-1:111111111:function:myfunction:plt-stg
but it didn't work id I do the same thing with
AWS_LAMBDA_FUNCTION_NAME
it changes thefunctionName
in the context but I can not setinvokedFunctionArn
The text was updated successfully, but these errors were encountered: