Use this when deciding which system holds the authoritative intended state.
Source of Truth
A source of truth is the authoritative system that holds intended state, such as NetBox for network data or Git for configuration. Automation reads from it, and changes start there rather than on devices.
1. Source of truth: authoritative intended data for automation.
2. NetBox/Nautobot for network; git for config intent.
3. Data quality and ownership.
4. Automation reads SoT, never the other way unknowingly.
5. Validate and reconcile.
SoT data → automation → network; reality → reconcile
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Updating devices first and the SoT later (or never).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Source of truth fundamentals: define which system is authoritative for each kind of data, make changes there first, let automation read from it, and detect when reality diverges.
Subtopic Authoritative DataAuthoritative data is the record that wins when systems disagree.
Subtopic Desired StateDesired state in a source of truth is the intended configuration recorded there, such as which VLANs a port should carry, which automation turns into actual device configuration.
Subtopic InventoryInventory in a source of truth is the authoritative list of devices and systems with their attributes, used to generate automation inventories instead of maintaining separate lists.
Subtopic IPAMIPAM as part of a source of truth is the authoritative record of address space, prefixes, VLANs and VRFs, from which automation allocates and configures addresses.
Subtopic CMDBA CMDB as source of truth holds configuration items and their relationships for ITSM.
Subtopic Git RepositoryA Git repository as source of truth stores configuration, inventories and variables as versioned files, with review through pull requests and full history of every change.
Subtopic Data ValidationData validation in a source of truth enforces rules on entries — required fields, naming conventions, valid ranges, no duplicates — so automation reading it does not act on bad data.
Subtopic SynchronizationSynchronization keeps a source of truth and other systems aligned, such as syncing NetBox devices to monitoring or DNS, in one direction from the authoritative source.
Subtopic Drift DetectionDrift detection against a source of truth compares live configuration with the recorded intent and reports devices or settings that differ, so either the device or the record is corrected.
- One source of truth per data type.
- Change the source first, then systems.
- Detect when reality drifts from it.
- SoT definition per data domain (IPAM, devices, circuits) — authority
- Data quality metrics — completeness
- Change process for SoT data — governance
ReferenceWhy it matters1 section · depth on demand
What it is
The source of truth (SoT) defines what the network should be; automation generates config from it and checks devices against it.
ReferenceImportant terms & boundaries2 sections · depth on demand
How it works
Automation reads intended state from the SoT, generates configuration and pushes it, then compares the result with the SoT. Changes start in the SoT, so it must be easy to update and validated on input.
Example
Typical split of authority:
| Data | Source of truth |
|---|---|
| Devices, interfaces, cables | NetBox |
| IP prefixes and addresses | NetBox IPAM |
| Templates and roles | Git |
| Secrets | Vault |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Source of Truth. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%