title: Is it possible to exclude some environment variables from serverless deploy?
body: <p>I'm using <a href="https://serverless.com/" rel="nofollow noreferrer">Serverless</a> for deploying my functions to AWS Lambda and <a href="https://www.npmjs.com/package/serverless-dotenv-plugin" rel="nofollow noreferrer">Serverless Dot-Env</a> 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 <code>Environment variables</code>, but what if I don't want some of them (like the <code>NODE_ENV</code> variable) to be there? I tried doing this in my serverless.yml file</p>
  
  <pre><code>exclude:
   - ${env:NODE_ENV}
  </code></pre>
  
  <p>But the variable was still there as you can see in the image below
  <a href="https://i.stack.imgur.com/jQq4R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jQq4R.png" alt=""></a></p>
  
  <p>So is there a way to hide such variables?</p>