fbpx

Following is a list of environment variables that are available to the Spotinst Function execution Environment:

Key Value
SPOTINST_EXECUTION_ENV  This is according to the Function runtime:
Spotinst_Functions_nodejs83,
Spotinst_Functions_nodejs48,
Spotinst_Functions_python27,
Spotinst_Functions_ruby241,
Spotinst_Functions_java8
SPOTINST_FUNCTION_ID Spotinst Function ID
SPOTINST_FUNCTION_NAME Spotinst Function Name
SPOTINST_FUNCTION_VERSION Spotinst Function executed version
SPOTINST_FUNCTION_MEMORY Memory size of the Spotinst Function in MB
SPOTINST_LOCATION Location where the Function is executed;  depends on the naming of the specific cloud provider
SPOTINST_PROVIDER  Cloud Provider in which the Function is executed