Appendix: Configuring Builds

Configuring terraform providers via environment variables

It is typical for terraform providers to enable configuration through environment variables. The full set of environment variables that are evaluated and how they are used it usually documented in the provider docs, for example look at the athentication section of the kubernetes provider documentation.

Gitlab allowsenvironment variables to be configured for CI/CD pipelines at every level in the project hierarchy. Environment variables are inherited in the following order:

  1. system-wide
  2. group
  3. project
  4. build

Variables at the system-wide, group, and project level can be configured from the CI/CD menu

Then expanding the variable menu and clicking “Add Variable”