Is it possible to have a service reference multiple Env Var Groups?
I have:
envVars:
- fromGroup: rails-environment
- fromGroup: postgres-environment
Referencing:
envVarGroups:
- name: rails-environment
envVars:
- key: ASSET_CDN_HOST
value: https://assets.xxxxx.com
- key: IMAGE_CDN_HOST
value: https://images.xxxxx.com
- key: RAILS_MASTER_KEY
sync: false
- name: postgres-environment
envVars:
- key: DATABASE_URL
fromDatabase:
name: XXXXXX
property: connectionString
However, I get the error: “envVarGroups[1].envVars[0]
must have a key and value”