diff --git a/terraform/gcp/modules/sigstore/sigstore.tf b/terraform/gcp/modules/sigstore/sigstore.tf index 8082e9278..67cda54f8 100644 --- a/terraform/gcp/modules/sigstore/sigstore.tf +++ b/terraform/gcp/modules/sigstore/sigstore.tf @@ -130,6 +130,10 @@ module "gke-cluster" { services_secondary_range_name = module.network.secondary_ip_range.1.range_name cluster_network_tag = var.cluster_network_tag + initial_node_count = var.initial_node_count + autoscaling_min_node = var.autoscaling_min_node + autoscaling_max_node = var.autoscaling_max_node + bastion_ip_address = module.bastion.ip_address depends_on = [ diff --git a/terraform/gcp/modules/sigstore/variables.tf b/terraform/gcp/modules/sigstore/variables.tf index 3835e320f..9bd972cc7 100644 --- a/terraform/gcp/modules/sigstore/variables.tf +++ b/terraform/gcp/modules/sigstore/variables.tf @@ -259,3 +259,17 @@ variable "ctlog_shards" { description = "Array of CTLog shards to create. Entry should be something like [2021, 2022], which would then have 2 independent CTLog shards backed by ctlog-2021 and ctlog-2022 Cloud SQL instances." default = [] } + + +// Cluster node pool +variable "initial_node_count" { + type = number +} + +variable "autoscaling_min_node" { + type = number +} + +variable "autoscaling_max_node" { + type = number +}