mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-23 09:51:04 +01:00
Worker group tags (#252)
* Allow per worker group ASG tags to be set * Format * Set correct defaults * Implement hack that will use the first item in the list if a matching item does not exist for the worker group * Use a map that will map from the worker group name to the tags to get around the issue where list indexing does not work with a list of lists * Format * Cleanup * Fix sample * README
This commit is contained in:
committed by
Max Williams
parent
eac4164c05
commit
35747d707a
18
variables.tf
18
variables.tf
@@ -101,6 +101,15 @@ variable "workers_group_defaults" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "worker_group_tags" {
|
||||
description = "A map defining extra tags to be applied to the worker group ASG."
|
||||
type = "map"
|
||||
|
||||
default = {
|
||||
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"
|
||||
@@ -124,6 +133,15 @@ variable "workers_group_launch_template_defaults" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "worker_group_launch_template_tags" {
|
||||
description = "A map defining extra tags to be applied to the worker group template ASG."
|
||||
type = "map"
|
||||
|
||||
default = {
|
||||
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