Skip to content

OctoLintEnvironmentCount

Matthew Casperson edited this page Apr 29, 2024 · 5 revisions

OctoLintEnvironmentCount returns a warning if there are more than 10 environments in a space.

Recommendation

At a high level, environments are used to model business processes and group distinct copies of infrastructure.

Environments typically represent copies of infrastructure that deployments progress through as they gain more stability and confidence that changes are ready to be exposed to end users. Teams may have special responsibilities for given environments e.g. only product owners can approve production deployments.

Remediation

Too many environments may indicate that environments are being used to model concepts at too low a level. Examples may include project, region, or customer specific environments.

Consider using tenants to represent concepts such as customers, users, or regions.

Further Reading

Clone this wiki locally