mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-17 09:07:20 +01:00
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:
@@ -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"], "")
|
||||
|
||||
Reference in New Issue
Block a user