Skip to content

Commit

Permalink
Merge pull request #87 from appuio/feat/change-root-size
Browse files Browse the repository at this point in the history
Change default root disk size to 100Gi
  • Loading branch information
simu authored Feb 15, 2024
2 parents 1167e6c + cf95e14 commit df70ae9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ resource "exoscale_compute_instance" "nodes" {
ignore_changes = [
template_id,
user_data,
elastic_ip_ids
elastic_ip_ids,
]
}
}
6 changes: 3 additions & 3 deletions modules/node-group/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}

Expand Down
6 changes: 3 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}

Expand Down

0 comments on commit df70ae9

Please sign in to comment.