mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-11 03:26:50 +02:00
feat: Add Launch Template support for Managed Node Groups (#997)
NOTES: Managed Node Groups now support Launch Templates. The Launch Template it self is not managed by this module, so you have to create it by your self and pass it's id to this module. See docs and [`examples/launch_templates_with_managed_node_groups/`](https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/examples/launch_templates_with_managed_node_group) for more details.
This commit is contained in:
1
local.tf
1
local.tf
@@ -80,6 +80,7 @@ locals {
|
||||
# Settings for launch templates
|
||||
root_block_device_name = data.aws_ami.eks_worker.root_device_name # Root device name for workers. If non is provided, will assume default AMI was used.
|
||||
root_kms_key_id = "" # The KMS key to use when encrypting the root storage device
|
||||
launch_template_id = "" # The id of the launch template used for managed node_groups
|
||||
launch_template_version = "$Latest" # The lastest version of the launch template to use in the autoscaling group
|
||||
launch_template_placement_tenancy = "default" # The placement tenancy for instances
|
||||
launch_template_placement_group = null # The name of the placement group into which to launch the instances, if any.
|
||||
|
||||
Reference in New Issue
Block a user