Skip to content

Commit

Permalink
add autoscaler var and set it to false
Browse files Browse the repository at this point in the history
Signed-off-by: darox <[email protected]>
  • Loading branch information
darox committed Jan 15, 2025
1 parent e20e3ec commit 0eed01b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module "main" {
agents_tags = local.tags
agents_size = var.instance_type
cluster_name = var.name
enable_auto_scaling = true
enable_auto_scaling = var.enable_auto_scaling
role_based_access_control_enabled = true
kubernetes_version = var.kubernetes_version
net_profile_dns_service_ip = cidrhost(var.service_cidr, 10)
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,10 @@ variable "workload_identity_enabled" {
description = "Enable workload identity"
default = false
type = bool
}

variable "enable_auto_scaling" {
description = "Enable auto scaling"
default = false
type = bool
}

0 comments on commit 0eed01b

Please sign in to comment.