Environments
The env descriptor: deployable infrastructure environment roots.
The env descriptor defines the repository area for deployable
infrastructure environments. Each environment root is a concrete deployment
target used by continuous deployment — production, staging, a variant
deployment, or a pull request deployment.
When to introduce it
Add an env directory when a repository starts deploying infrastructure.
Roots are thin, readable entry points that compose reusable modules and hold
the configuration of one deployment target. Terraform is the primary format,
but other deployment definitions may live here when they are executable
deployable roots.
Rules
- Keep reusable infrastructure in
modules; keep deployment wiring inenv. - Organize roots by logical deployed unit and environment tier or variant.
- Commit provider lock files for deployable Terraform roots.
- Require no ad hoc parameters at execution time: values come from committed configuration, directory conventions, or module defaults.
- Do not commit state files, local variable files, or provider plugin directories.
Source: descriptors/env/README.md
Revised: December 2026.