BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
288 / 1048 · Module 8 — Configuration and Security← prev⊞ allnext →

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