feat: Add support for specifying conrol plane subnets separate from those used by node groups (data plane) (#2113)

This commit is contained in:
Bryant Biggs
2022-06-18 17:52:30 -04:00
committed by GitHub
parent d10b173a2d
commit ebc91bcd37
12 changed files with 30 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ variable "cluster_name" {
}
variable "cluster_version" {
description = "Kubernetes `<major>.<minor>` version to use for the EKS cluster (i.e.: `1.21`)"
description = "Kubernetes `<major>.<minor>` version to use for the EKS cluster (i.e.: `1.22`)"
type = string
default = null
}
@@ -44,8 +44,14 @@ variable "cluster_additional_security_group_ids" {
default = []
}
variable "control_plane_subnet_ids" {
description = "A list of subnet IDs where the EKS cluster control plane (ENIs) will be provisioned. Used for expanding the pool of subnets used by nodes/node groups without replacing the EKS control plane"
type = list(string)
default = []
}
variable "subnet_ids" {
description = "A list of subnet IDs where the EKS cluster (ENIs) will be provisioned along with the nodes/node groups. Node groups can be deployed within a different set of subnet IDs from within the node group configuration"
description = "A list of subnet IDs where the nodes/node groups will be provisioned. If `control_plane_subnet_ids` is not provided, the EKS cluster control plane (ENIs) will be provisioned in these subnets"
type = list(string)
default = []
}