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
From my understanding reading the docs at npmjs, I should be seeing the environment variable IS_OFFLINE while running my lambda. This is not the case for me.
Bug Report
From my understanding reading the docs at npmjs, I should be seeing the environment variable
IS_OFFLINE
while running my lambda. This is not the case for me.Current Behavior
No variable called
IS_OFFLINE
is setSample Code
Prints:
is_off
plugins:
provider:
runtime: go1.x
stage: dev
Expected behavior/code
IS_OFFLINE
should return the value oftrue
Environment
serverless
version: serverless@1.67.0serverless-offline
version: serverless-offline@6.3.1node.js
version: v12.16.1OS
: macOS 10.15.3optional, if you are using any of the following frameworks to invoke handlers
Possible Solution
I can manually set
IS_OFFLINE
in myserverless.yaml
and it works fineAdditional context/Screenshots
I'm using
--useDocker
The text was updated successfully, but these errors were encountered: