Adding env variable from ≈

Hi,
A complete newbie here. Please bear with me.

How can I pass the env variables using the serverless .yml file?

Regards

Hi you can set them in environment area in your serverless.yml

provider:
  name: aws
  environment:
    SOME_ENV_VAR: yourValue

does that make sense?

1 Like

Thank you so much for your help.