Open
Description
The following line determines if the code is running as a lambda:
Unfortunately the environment variables for lambdas are not provided by greengrass' version of lambdas. This means my aws-embedded-metrics agent attempted TCL connections from my greengrass lambda and was failing until I manually added AWS_LAMBDA_FUNCTION_NAME as an env variable with the function name.