Amazon web services – detect is localhost AWS Serverless framework
i'm running my serverless with serverless offline library, i'm running using sls offline and i have several. how i detect is my lambda API triggered from localhost or server? thank you i already try like process.env.IS_LOCAL, process.env.AWS_EXECUTION_ENV but returning undefined.