Terraform provider for managing Formance Stack resources.
- Manage Formance Ledger, Payments, Webhooks, Reconciliation Policies, and more
- Supports advanced filtering and metadata queries
- Integrates with Formance Cloud and self-hosted stacks
- Terraform >= 1.0
- Formance Stack (Cloud or self-hosted)
- Go (for building from source)
To install the provider, add the following to your Terraform configuration:
terraform {
required_providers {
stack = {
source = "formancehq/stack"
version = ">= 0.1.0"
}
}
}
provider "stack" {
organization_id = "your-organization-id"
stack_id = "your-stack-id"
uri = "https://api.formance.cloud"
# Optional:
# cloud {
# client_id = "..."
# client_secret = "..."
# endpoint = "..."
# }
# retry_config { ... }
# wait_module_duration = "2m"
}
See docs/index.md for the full provider schema.
- Ledger (Ledger docs)
- Payments Pool (Payments docs)
- Payments Connectors (Payments Connectors docs)
- Reconciliation Policy (Reconciliation docs)
- Webhooks (Webhooks docs)
- Ledger Advanced Filtering: Formance Ledger Filtering documentation
- Ledger Module Reference: Formance Ledger documentation
- Payments Reference: Formance Payments documentation
- Payments Connectors Reference: Formance Payments Connectors documentation
- Reconciliation Reference: Formance Reconciliation documentation
- Webhooks Reference: Formance Webhooks documentation
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the Apache 2.0 License.