mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 15:12:08 +01:00
feat(infrastructure): add terraform example
This commit is contained in:
22
tofu/terraform.tfvars.example
Normal file
22
tofu/terraform.tfvars.example
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Example terraform.tfvars for MariaDB and MetalLB
|
||||||
|
|
||||||
|
metallb_ip_range = "10.80.0.100-10.80.0.240"
|
||||||
|
|
||||||
|
# Secret configuration (use strong passwords; do not commit real secrets)
|
||||||
|
mariadb_password = "example_password"
|
||||||
|
mariadb_root_password = "example_root_password"
|
||||||
|
|
||||||
|
# MariaDB user
|
||||||
|
mariadb_user_name = "example_user"
|
||||||
|
mariadb_user_host = "%"
|
||||||
|
mariadb_user_password = "example_user_password"
|
||||||
|
|
||||||
|
# MetalLB IPs for services (optional)
|
||||||
|
metallb_maxscale_ip = "10.80.0.219"
|
||||||
|
metallb_service_ip = "10.80.0.120"
|
||||||
|
metallb_primary_ip = "10.80.0.130"
|
||||||
|
metallb_secondary_ip = "10.80.0.131"
|
||||||
|
|
||||||
|
# phpMyAdmin toggle
|
||||||
|
phpmyadmin_enabled = true
|
||||||
|
|
||||||
Reference in New Issue
Block a user