mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 16:43:46 +01:00
Allows worker groups to be created using AWS Launch Templates (#222)
This commit is contained in:
23
variables.tf
23
variables.tf
@@ -79,7 +79,7 @@ variable "vpc_id" {
|
||||
}
|
||||
|
||||
variable "worker_groups" {
|
||||
description = "A list of maps defining worker group configurations. See workers_group_defaults for valid keys."
|
||||
description = "A list of maps defining worker group configurations to be defined using AWS Launch Configurations. See workers_group_defaults for valid keys."
|
||||
type = "list"
|
||||
|
||||
default = [{
|
||||
@@ -99,6 +99,27 @@ variable "workers_group_defaults" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "worker_groups_launch_template" {
|
||||
description = "A list of maps defining worker group configurations to be defined using AWS Launch Templates. See workers_group_defaults for valid keys."
|
||||
type = "list"
|
||||
|
||||
default = [{
|
||||
"name" = "default"
|
||||
}]
|
||||
}
|
||||
|
||||
variable "worker_group_launch_template_count" {
|
||||
description = "The number of maps contained within the worker_groups_launch_template list."
|
||||
type = "string"
|
||||
default = "0"
|
||||
}
|
||||
|
||||
variable "workers_group_launch_template_defaults" {
|
||||
description = "Override default values for target groups. See workers_group_defaults_defaults in locals.tf for valid keys."
|
||||
type = "map"
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "worker_security_group_id" {
|
||||
description = "If provided, all workers will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the EKS cluster."
|
||||
default = ""
|
||||
|
||||
Reference in New Issue
Block a user