Configuration Reference
Every Terrakube service is configured with environment variables. This section lists all of them, with their defaults, for the three services you deploy:
API: database, storage, authentication, scheduler, Redis, logs, notifications, dynamic credentials, policy governance
Executor: Terraform and OpenTofu, state and output storage, structured output, log delivery, ephemeral jobs
Registry: modules, providers, storage, caching
Most topics have a task-oriented guide that explains why and when to change a setting; this reference is for looking up the exact name and default. Names are case sensitive.
For the setup order, follow Production Setup. For production choices and trade-offs, start with Recommended Settings. These references describe shipped defaults, which may be less restrictive than the recommended configuration.
How to set them
Helm chart
Under env of the component: api.env, executor.env, registry.env. Common settings also have chart values; see Helm Chart.
Docker Compose
The environment block of the service in docker-compose.yml, or docker-compose/.env.
Plain containers
-e Name=value.
api:
env:
- name: ModuleRefreshInterval
value: "60"A variable with no default is either optional or must be provided. Secrets such as PatSecret, InternalSecret and database or storage credentials have no default and are required where the feature is used.
Last updated
Was this helpful?