environmentVariablesGroups

The environmentVariablesGroups property defines groups of Environment Variables which can be injected in containers. As opposed to Project Variables and Environment Variables , the environmentVariablesGroups are not automatically injected in containers, they explicitly need to be included in Component config. 

Example

The usage is trivial, groups with key-value pairs need to be defined.

environmentVariablesGroups:
  my-group:
    MY_VAR: my_value
    OTHER_VAR: 2nd_value
  db.group:
    MYSQL_PASS: secret
    MYSQL_USER: user

📘

For more details on how Environment Variables Groups work, please see the dedicated Variables Groups section, where all relevant information is documented.