feat: Require users to supply OS via ami_type and not via platform which is unable to distinquish between the number of variants supported today (#3068)

This commit is contained in:
Bryant Biggs
2024-06-13 07:50:26 -04:00
committed by GitHub
parent c32cee1adc
commit ef657bfcb5
5 changed files with 13 additions and 8 deletions

View File

@@ -465,7 +465,7 @@ module "self_managed_node_group" {
autoscaling_group_tags = try(each.value.autoscaling_group_tags, var.self_managed_node_group_defaults.autoscaling_group_tags, {})
# User data
platform = try(each.value.platform, var.self_managed_node_group_defaults.platform, "linux")
platform = try(each.value.platform, var.self_managed_node_group_defaults.platform, null)
# TODO - update this when `var.platform` is removed in v21.0
ami_type = try(each.value.ami_type, var.self_managed_node_group_defaults.ami_type, "AL2_x86_64")
cluster_endpoint = try(time_sleep.this[0].triggers["cluster_endpoint"], "")