deployment-declarative-lifecycle
Type: decision
Decision
Within a deployment stack, what is not declared in code is deleted on the next deployment.
Why
Without this, resources removed from the stack's code persist in Azure — the code stops being the source of truth.
Violations
- Deployment Stack configured with detachAll — removed resources persist with no cleanup path.
- Resources created directly in Azure are not managed by the Deployment Stack.
Links
← Back to knowledge graph