From d866284e1f6eff99c44481106f0cdc6fe111bc66 Mon Sep 17 00:00:00 2001 From: Janis Hahn Date: Wed, 16 Jul 2025 12:55:50 +0200 Subject: [PATCH] update SKE --- .gitignore | 1 + example/test.tfvars | 8 +++----- example/variables.tf | 1 + project/variables.tf | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 5dfe310..278cec6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .terraform* terraform.tfstate* +kubeconfig-clusterdev.yaml \ No newline at end of file diff --git a/example/test.tfvars b/example/test.tfvars index 128f2eb..b0d5467 100644 --- a/example/test.tfvars +++ b/example/test.tfvars @@ -1,5 +1,3 @@ -# ------------------ - organization_id = "03a34540-3c1a-4794-b2c6-7111ecf824ef" Projects_map = { @@ -70,12 +68,12 @@ ske_clusters = { } } }, - + "dev-cluster" = { name = "clusterdev" kubernetes_version_min = "1.32.5" project_key = "projekt-beta" - network_id = "9c3dea6a-2971-414e-8c06-04618aa2c1f7" # WICHTIG: Hier die Netzwerk-ID connecten + network_id = "bedfc709-9285-4078-93ab-8e8a1c0be6bd" # WICHTIG: Hier die Netzwerk-ID connecten node_pools = [ { @@ -83,7 +81,7 @@ ske_clusters = { machine_type = "c1.2" availability_zones = ["eu01-2"] minimum = 1 - maximum = 1 + maximum = 2 volume_size = 21 } ] diff --git a/example/variables.tf b/example/variables.tf index f2077bb..3665f68 100644 --- a/example/variables.tf +++ b/example/variables.tf @@ -1,4 +1,5 @@ # SNA & Projects variables + variable "organization_id" { description = "Die Container-ID deiner STACKIT Organisation." type = string diff --git a/project/variables.tf b/project/variables.tf index 6ff8c04..d2419f8 100644 --- a/project/variables.tf +++ b/project/variables.tf @@ -2,6 +2,7 @@ variable "organization_id" { description = "Empfängt die Container-ID der Organisation vom Root-Modul." type = string } + variable "projects" { type = map(object({ name = string