Doppler not injecting environment variables for Serverless framework deploys

Hey again Rnjai,

I’ve been able to successfully set environment variables using doppler run -- serverless deploy so am wondering if it’s because of the syntax you’re using in your serverless.ym file.

In your function definition, are you using the ${env:} syntax? For example:

functions:
  dopplerTest:
    environment:
      API_KEY: ${env:API_KEY}