Kontfix Documentation#
Kontfix is a Nix-based framework for managing Kong Konnect control planes and related resources—system accounts and client certificates—via Terraform. Users declare their infrastructure in Nix modules; Kontfix converts them to config.tf.json consumed by Terraform.

How It Works#
- Declare control planes, storage backends, and certificates in Nix modules
- Run
nix run .#buildto generateconfig.tf.json - Run
nix run .#applyto provision resources in Kong Konnect
Sections#
- Defaults — Global defaults applied to all control planes and resources
- Control Planes — Per-control-plane configuration: auth type, certificates, system accounts, storage backends
- Groups — System account groups that span multiple control planes