From 60d35c7ad7101ff0b45189ff2eb490fa487a7937 Mon Sep 17 00:00:00 2001 From: "lukas.weberruss" Date: Wed, 23 Jul 2025 08:34:46 +0000 Subject: [PATCH] Add variables.tf --- variables.tf | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 variables.tf diff --git a/variables.tf b/variables.tf new file mode 100644 index 0000000..c5a17c2 --- /dev/null +++ b/variables.tf @@ -0,0 +1,68 @@ +variable "stackit_project_id" { + type = string + description = "Die ID Ihres STACKIT-Projekts." +} + +variable "stackit_service_account_email" { + type = string + description = "Die E-Mail-Adresse Ihres STACKIT Service Accounts." + sensitive = true +} + +variable "stackit_service_account_token" { + type = string + description = "Der Token Ihres STACKIT Service Accounts." + sensitive = true +} + +variable "cf_user" { + type = string + description = "Ihr Cloud Foundry Benutzername (E-Mail)." + sensitive = true +} + +variable "cf_password" { + type = string + description = "Ihr Cloud Foundry Passwort." + sensitive = true +} + +variable "cf_org_name" { + type = string + description = "Name der Cloud Foundry Organisation." + default = "moodle-org" +} + +variable "cf_space_name" { + type = string + description = "Name des Cloud Foundry Space." + default = "production" +} + +variable "moodle_domain" { + type = string + description = "Die öffentliche Domain für Moodle (z.B. moodle.meine-firma.de)." +} + +variable "moodle_internal_host" { + type = string + description = "Der Hostname für die interne CF-Route." + default = "moodle-internal" +} + +variable "s3_bucket_name" { + type = string + description = "Der Name für den S3 Object Storage Bucket." +} + +variable "use_cdn" { + type = bool + description = "Setze auf 'true', um die CDN-spezifische Konfiguration zu aktivieren." + default = true +} + +variable "cdn_proxy_ip" { + type = string + description = "Die öffentliche IP des CDN-Knotens, der für trustedproxies benötigt wird." + default = "185.124.192.185" # Basierend auf unserer Analyse +} \ No newline at end of file