# Environment Parity

Record: `arch:environment-parity`
Kind: principle
Layer: [Resource Core](https://banes-lab.com/records/layer/resource-core.md)
Severity: recommended
Scope: dev, test, staging, production
Canonical: https://banes-lab.com/ontology#arch-environment-parity

## Repair

- Refactored by: Containerize, Externalize Config, Use IaC
- Detected by: works-in-dev-only defects
- Violated by: environment-specific behavior not config-driven
- Measured by: [environment drift](https://banes-lab.com/records/lex/environment-drift.md)
- Enforced by: environment drift checks

## requires

- [Configuration Externalization](https://banes-lab.com/records/arch/configuration-externalization.md)
- [Infrastructure as Code](https://banes-lab.com/records/arch/infrastructure-as-code.md)

## reinforces

- [Reproducibility](https://banes-lab.com/records/arch/reproducibility.md)

## enables

- [Reliable Deployment](https://banes-lab.com/records/lex/reliable-deployment.md)

## conflicts-with

- [Snowflake Environments](https://banes-lab.com/records/lex/snowflake-environments.md)

## tensions-with

- [Cost](https://banes-lab.com/records/lex/cost.md)

## tensions

- [Environment Parity Cost](https://banes-lab.com/records/tension/cost-environment-parity.md)

## referenced-by

- [Containerization](https://banes-lab.com/records/arch/containerization.md)
- [Configuration Externalization](https://banes-lab.com/records/arch/configuration-externalization.md)
- [Immutable Infrastructure](https://banes-lab.com/records/arch/immutable-infrastructure.md)
