environment

One place where a copy of the application runs with its own config, such as development, staging or production.

In more detail

Environment configuration is supplied at deploy time, so the same artifact can move from one environment to the next. The twelve-factor app warns against grouping config into named environments, because the groups multiply as staging, demo and per-developer environments appear.

Example

In Terraform: Terraform supports several environments by feeding different variable values into one configuration, and by keeping each environment's state separate. Copying the directory per environment makes them drift apart. Short-lived, or ephemeral, environments are only practical because destroy is reliable.

Related terms

Taught in

References

Certification courses