diff --git a/main.tf b/main.tf index 2e32c33..cb1bb4d 100644 --- a/main.tf +++ b/main.tf @@ -101,6 +101,7 @@ module "gke" { subnetwork = local.vpc_subnetwork azs = local.azs disk_size_gb = var.default_node_disk_size + disk_type = var.default_node_disk_type vpc_master_cidr_block = var.vpc_master_cidr_block machine_type = var.machine_type enable_ch_node_pool = var.enable_ch_node_pool diff --git a/variables.tf b/variables.tf index 76386be..de82984 100644 --- a/variables.tf +++ b/variables.tf @@ -492,6 +492,12 @@ variable "default_node_disk_size" { description = "Root disk size for a cluster node" } +variable "default_node_disk_type" { + type = string + default = "pd-standard" + description = "The disk type for the GKE cluster nodes" +} + variable "vpc_master_cidr_block" { type = string default = "192.168.0.0/28"