[MAGNOLIA-8106] DOC: Different configurations for different environments Created: 26/May/21  Updated: 17/Jun/21  Resolved: 17/Jun/21

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.9
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MAGNOLIA-7883 Enable different configuration for di... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Sprint: UI FW 30
Story Points: 2

 Description   

Only when the magnolia.yaml.envsubst feature flag is set to true, will the following syntax in a YAML file parse the environment variable:

<url>: !env https://${<ENV>}.api.com/<endpoint>

NOTE: This will only work in plain YAML definitions, not YAML decorator files.

Task

Create a new section in https://docs.magnolia-cms.com/product-docs/Administration/Architecture/Configuration-management.html.



 Comments   
Comment by Ashraf Khamis [ 17/Jun/21 ]

Added the following section about the magnolia.yaml.envsubst feature flag: https://docs.magnolia-cms.com/product-docs/6.2/Administration/Architecture/Configuration-management.html#_different_configurations_for_different_environments.

Reviewed by Maxime.

Generated at Mon Feb 12 04:29:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.