You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: set an ASG's launch template version to an explicit version to automatically trigger instance refresh (terraform-aws-modules#1370)
NOTES: Set an ASG's launch template version to an explicit version automatically. This will ensure that an instance refresh will be triggered whenever the launch template changes. The default `launch_template_version` is now used to determine the latest or default version of the created launch template for self-managed worker groups.
Signed-off-by: Benjamin Ash <[email protected]>
Co-authored-by: Thierno IB. BARRY <[email protected]>
Copy file name to clipboardexpand all lines: local.tf
+2-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ locals {
75
75
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.
76
76
root_kms_key_id =""# The KMS key to use when encrypting the root storage device
77
77
launch_template_id =null# The id of the launch template used for managed node_groups
78
-
launch_template_version ="$Latest"# The lastest version of the launch template to use in the autoscaling group
78
+
launch_template_version ="$Latest"# The latest version of the launch template to use in the autoscaling group
79
+
update_default_version =false# Update the autoscaling group launch template's default version upon each update
79
80
launch_template_placement_tenancy ="default"# The placement tenancy for instances
80
81
launch_template_placement_group =null# The name of the placement group into which to launch the instances, if any.
81
82
root_encrypted =false# Whether the volume should be encrypted or not
0 commit comments