Back to Catalog
Cloud
Configuration
Immutable Configuration
Use immutable configuration containers for improved security and reproducibility
Intent & Description
The Immutable Configuration pattern uses immutable configuration containers that contain all configuration and cannot be modified after creation. This improves security by preventing runtime configuration changes and ensures reproducibility by explicitly defining the configuration at deployment time.
Real-world Use Case
Use when you need to prevent runtime configuration changes or when you want to ensure deployment reproducibility.
Source
Advantages
- Prevents runtime configuration changes
- Improves security
- Ensures reproducibility
- Clear audit trail
Disadvantages
- Requires rebuilds for configuration changes
- Less flexible for dynamic environments
- May increase image size