# Terraform/OpenTofu IaC This directory contains infrastructure configuration files and modules for underlying services. ## Directory Structure - `modules/` - separated modules for different services - `cert-manager/` - module for deploying Cert-Manager - `cloudflare/` - module for Cloudflare tunnels operator - allows to expose services via Cloudflare tunnels - `maxscale/` - module for MariaDB Operator set up for MaxScale and 3 nodes, backups and phpMyAdmin. PHPMyAdmin is available at mysql.YOU_DOMAIN, MaxScale UI at maxscale.YOU_DOMAIN - `metallb/` - module for MetalLB load balancer - `metrics-server/` - module for Kubernetes Metrics Server - `prometheus/` - module for Prometheus and Grafana - monitoring stack with grafana available at grafana.YOU_DOMAIN - `rabbitmq/` - module for RabbitMQ message queue cluster - `redis/` - module for Redis cluster, not used currently - `storage/` - module for Longhorn file storage - `main.tf` - main deployment configuration - `variables.tf` - deployment variables - `terraform.tfvars.example` - example variables file