declarative-resource-lifecycle
Type: decision
Decision
What's in the code is what exists in Azure — Azure Deployment Stacks delete anything removed from the template on the next deployment.
Why
Without automatic cleanup, removed resources stay alive in Azure — the code stops being the source of truth
Links
- platform-test-environment — 'deleteAll' in test verifies code produces the expected Azure state before promotion to prod.
- landing-zone-lifecycle — A subscription is guaranteed empty after deleteAll, which makes subscription reuse safe.
- azure-native-services-only — Only ARM-native resources are stack-managed — azure-native-services-only is the prerequisite for deleteAll lifecycle enforcement.
← Back to all decisions