This page covers managing custom attestation types via Terraform. For an introduction to custom attestation types and creating them via the CLI, see Getting started: Attestations.
- A JSON Schema (optional) that defines the expected structure of attestation data
- jq rules (optional) that evaluate the data to determine compliance
Create a custom attestation type
With schema and jq rules
With jq rules only
With schema only
Import an existing custom attestation type
If you have custom attestation types created via the CLI, you can bring them under Terraform management by importing them into your .- Find the attestation type name in the Kosli UI or run:
-
Add a matching
kosli_custom_attestation_typeresource block to your configuration. - Run the import:
- Verify with
terraform plan— no changes should be planned if the import succeeded.