mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 11:21:04 +01:00
feat: Add support for specifying conrol plane subnets separate from those used by node groups (data plane) (#2113)
This commit is contained in:
10
variables.tf
10
variables.tf
@@ -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 = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user