From cf95e147c349669d58ded4a7d747f5eccb8d4704 Mon Sep 17 00:00:00 2001 From: Stephan Feurer Date: Tue, 9 Jan 2024 14:38:03 +0100 Subject: [PATCH] Change default root disk size to 100Gi RedHat lowered requirements for OpenShift node root disk size to 100Gi. --- modules/node-group/main.tf | 2 +- modules/node-group/variables.tf | 6 +++--- variables.tf | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/node-group/main.tf b/modules/node-group/main.tf index 4e0c666..ff5f7bc 100644 --- a/modules/node-group/main.tf +++ b/modules/node-group/main.tf @@ -200,7 +200,7 @@ resource "exoscale_compute_instance" "nodes" { ignore_changes = [ template_id, user_data, - elastic_ip_ids + elastic_ip_ids, ] } } diff --git a/modules/node-group/variables.tf b/modules/node-group/variables.tf index 466ae32..041a9ec 100644 --- a/modules/node-group/variables.tf +++ b/modules/node-group/variables.tf @@ -30,11 +30,11 @@ variable "instance_type" { variable "root_disk_size" { type = number - default = 120 + default = 100 validation { - condition = var.root_disk_size >= 120 - error_message = "The minimum supported root disk size for OCP4 is 120GB." + condition = var.root_disk_size >= 100 + error_message = "The minimum supported root disk size for OCP4 is 100GB." } } diff --git a/variables.tf b/variables.tf index 5d81253..373fce1 100644 --- a/variables.tf +++ b/variables.tf @@ -113,11 +113,11 @@ variable "storage_state" { variable "root_disk_size" { type = number - default = 120 + default = 100 validation { - condition = var.root_disk_size >= 120 - error_message = "The minimum supported root disk size is 120GB." + condition = var.root_disk_size >= 100 + error_message = "The minimum supported root disk size is 100GB." } }