The Kaleido Terraform Provider is our official provider for the Kaleido Enterprise Platform and Kaleido Blockchain-as-a-Service.
Check out the Kaleido Terraform Provider documentation for the latest provider schema and examples.
Prerequisites:
terraform {
required_providers {
kaleido = {
source = "kaleido-io/kaleido"
version = ">1.2.0"
}
}
}
provider "kaleido" {
alias = "provider"
platform_api = var.kaleido_platform_api # https://<account-name>.${PLATFORM_DOMAIN}
platform_username = var.kaleido_platform_username # the name of the API key
platform_password = var.kaleido_platform_password # the secret of the API key
}See the official Terraform modules repository for useful modules and relevant examples.
Prerequisites:
- Go 1.25 or greater
- make
makeTo install the provider from a local build with Terraform 1.x or OpenTofu, configure your ~/.terraformrc with:
provider_installation {
dev_overrides {
"registry.terraform.io/kaleido-io/kaleido" = "/path/to/terraform-provider-kaleido" # for Terraform
"kaleido-io/kaleido" = "/path/to/terraform-provider-kaleido" # for OpenTofu
}
direct {}
}then be sure to build the binary you are testing using:
make buildNOTE: binaries built via
make build-${OS}will not be detected by Terraform'sdev_overrides.
Kaleido Terraform Provider uses terrraform-plugin-docs to generate all documentation markdown files. To update the provider documentation after any schema, example, or description changes run:
make docsmake build-linux
make build-mac
make build-win