Skip to content

Commit

Permalink
Merge pull request #1228 from alphagov/sengi/imds-hlim
Browse files Browse the repository at this point in the history
Enable use_custom_launch_template in aws-eks module.
  • Loading branch information
dj-maisy authored Apr 10, 2024
2 parents 582549c + b5c3453 commit f055f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/deployments/cluster-infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ locals {
min_size = var.workers_size_min
instance_types = var.workers_instance_types
disk_size = var.node_disk_size
use_custom_launch_template = false
use_custom_launch_template = var.govuk_environment == "integration" # TODO(#1201): remove with AL2023 rollout.
update_config = { max_unavailable = 1 }
additional_tags = {
"k8s.io/cluster-autoscaler/enabled" = "true"
Expand All @@ -57,7 +57,7 @@ locals {
min_size = var.arm_workers_size_min
instance_types = var.arm_workers_instance_types
disk_size = var.node_disk_size
use_custom_launch_template = false
use_custom_launch_template = var.govuk_environment == "integration" # TODO(#1201): remove with AL2023 rollout.
update_config = { max_unavailable = 1 }
additional_tags = {
"k8s.io/cluster-autoscaler/enabled" = "true"
Expand Down

0 comments on commit f055f7e

Please sign in to comment.