How to set environment variables in beta?

I have this same need. I have edited serverless.env.yaml to include variables under the stage, but they are not showing up under process.env in my lambda function.