I'm using Serverless for deploying my functions to AWS Lambda and Serverless Dot-Env to load in environment variables. However it seems there is no way to exclude some of these variables from the deployed Lambda. If you go on the Lambda dashboard on AWS you will find all variables listed on Environment variables, but what if I don't want some of them (like the NODE_ENV variable) to be there? I tried doing this in my serverless.yml file
exclude:
- ${env:NODE_ENV}
But the variable was still there as you can see in the image below

So is there a way to hide such variables?