Env definition as object

proposal

#1

Continuation of Configuring Services with Deploy-Time or Run-Time Arguments

  • env in mesg.yml are a array of string. It could be good to also accept an array of object

Something like:

configuration:
  env:
    - key: AN_ENV_VAR_FOR_SERVICE
      name: "Set the endpoint of blablabla...." // user friendly name. Optional
      value: 123 // Developer defined value, eg: default value.
dependencies:
  depA:
    env:
      - key: AN_OTHER_ENV_VAR_FOR_DEP_A
        name: "Set the endpoint of blablabla...." // user friendly name. Optional
        value: 123 // Developer defined value, eg: default value.

Configuring Services with Deploy-Time or Run-Time Arguments