Automation · Automation Fundamentals
Provisioning
Cheat sheet · https://pcornel.dk/topic.php?topic=5161
Answer
Provisioning creates or allocates the resources and foundational capabilities required before higher-level configuration and service deployment can occur.
Remember
- Provisioning ≠ configuration management; creating a VM or network is separate from maintaining its software/service settings.
- Resource exists ≠ resource ready; boot, identity, networking, storage and registration may still be incomplete.
- API success ≠ capacity or service usability; asynchronous provisioning must be observed to completion.
- Deprovisioning ≠ deleting one object; dependencies, data retention and external registrations may remain.
First checks
terraform apply— provision infrastructure- Provisioning request ticket/self-service form — input
- Post-provision checks (ping, DNS, monitoring) — validation
Verify in this order
request → IaC → resource → registration → validation
Where it usually breaks
Provisioning proves foundational resources were allocated; it does not prove application configuration, workload health or ongoing desired-state compliance.
Provisioning automation boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Intent / inputs | Owner, scope and authoritative inputs are explicit and versioned where applicable | Hidden defaults, stale inventory or competing sources of truth |
| Decision / execution | Plan or decision is explainable and actions are bounded per target | Blind fan-out, implicit assumptions or success based only on executor status |
| State / verification | Target is re-observed and acceptance criteria prove the intended outcome | No read-back, perpetual drift, partial side effects or unresolved exceptions |
| Recovery / evidence | Retry, rollback or escalation behavior is defined and auditable | Unknown partial completion, unsafe retry or evidence lost during remediation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5161