Using Drupal Configuration Management to Version Control Site Settings
Learn how to set a config sync directory outside the web root, export and import Drupal configuration with Drush, and avoid common pitfalls.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to set a config sync directory outside the web root, export and import Drupal configuration with Drush, and avoid common pitfalls.
Stop duplicating configuration blocks in your YAML files. Learn how to use merge keys (<<) to define defaults and overrides, reducing drift and maintenance overhead.
Use Drupal Configuration Split with settings.php to layer environment-specific modules on a shared base config. Worked example: dev split for devel and stage_file_proxy, activation per environment, avoiding UUID mismatches and secrets in YAML.
Learn how Drupal’s Layout Builder lets editors assemble pages via drag‑and‑drop while keeping layouts as version‑controlled configuration, plus a worked product‑landing‑page example and key trade‑offs.
YAML anchors and aliases remove config duplication without a templating engine — if you keep them as pure data references inside one trusted document. Here are the boundaries, CI checks, and failure modes.
Step‑by‑step guide to declare, apply, and verify a DSC configuration that guarantees a service exists, is set to start automatically, and is running.
A decision guide that compares file‑based and API‑driven dashboard provisioning in Grafana, shows a concrete YAML and curl example, and lists validation steps.
Avoid configuration drift in Gardener by moving from repetitive Shoot manifests to a centralized, template-driven deployment pattern using external configuration management.
Configure Grafana datasources and dashboards as version-controlled files that load automatically at startup, with secrets kept in environment variables and verification steps for each provider.