Environment Variables

You can add environment variables that don't need to be static values in your code and are easier to change and make your code configurable. They are defined as key and value in fleet.yml.

env:
  KEY: 'any value'

The environment variables are exposed via process.env in its Fleet Function, you define it globally in your project in the configuration file.