Guidance for AI agents working in this repo.
Reusable Terraform modules for the Kaleido Enterprise Platform, built on the terraform-provider-kaleido.
modules/— one module perkaleido_platform_service/_network/_stack.examples/— runnable compositions; every module must appear in at least one.devel/—design.md(principles) andtesting.md(CI contract). Read both before non-trivial changes.
See devel/design.md.
The provider is iterated in lockstep with modules. To test against unreleased provider changes, check out
../terraform-provider-kaleido, make build, and point a ~/.terraformrc dev_overrides block at the
built binary (both kaleido-io/kaleido and registry.terraform.io/kaleido-io/kaleido addresses) — see
.github/workflows/ci.yml for the exact incantation CI uses.
.github/workflows/ci.yml builds the provider from main, sets a dev override, and runs tflint --recursive
over each subdirectory of modules/ and examples/. Keep both lintable.
- Match existing
variables.tfstyle: typed objects withoptional(...)fields, descriptions that name the upstream config type (e.g.evm.gasPricing), and sensible defaults. - Mark credential variables
sensitive = true. - Example
tfvarslive undermodules/<name>/examples/and document per-network defaults. - Don't add new top-level files (READMEs, plans) unless asked.