The Midaz Terraform Foundation is a crucial step in running high-demand financial applications like Midaz, a core banking open-source developed by Lerian Studio. The foundation provides a collection of Terraform templates to create the necessary infrastructure for operating Midaz efficiently, following best practices and supporting three major cloud providers: AWS, Google Cloud Platform (GCP), and Microsoft Azure. The repository delivers organized modules by provider and component, including essential elements for running a cloud-based modern application. The structure respects the logical provisioning sequence, covering network, DNS, database, cache, and Kubernetes cluster. The templates incorporate good practices, using official modules, versioning, and separating code and configuration. Security is embedded, with authentication via CLI, remote state storage with encryption, and compatibility with the principle of least privilege. The foundation is modular and reusable, with templates separated by environment via .tfvars files, and is compatible with automation in CI/CD pipelines, and GitOps practices. It supports multiple providers, allowing infrastructure creation on the provider that best fits the organization's strategy. The foundation is designed for critical environments, with a focus on security, auditing, and compliance requirements.
dev.to
dev.to
