8.3Select configuration by environment
A common pattern is:
env=dev
or:
env=qa
or:
env=prod
Then Mule loads something conceptually like:
config-${env}.yaml
MuleSoft specifically documents dynamic property files such as:
file="${env}-properties.yaml"
where env is supplied through a runtime/system/environment property.
So deployment becomes:
DEV
env=dev
↓
dev-properties.yaml
QA
env=qa
↓
qa-properties.yaml
PROD
env=prod
↓
prod-properties.yaml