mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-25 02:41:03 +01:00
* Configure 'cpu_credits' for workers (#253) * Updated CHANGELOG(#253) * Moved default to settings for launch templates(#253)
This commit is contained in:
committed by
Max Williams
parent
4b1df0c0af
commit
34b74518e8
@@ -200,6 +200,14 @@ resource "aws_launch_template" "workers_launch_template" {
|
||||
),
|
||||
)
|
||||
|
||||
credit_specification {
|
||||
cpu_credits = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"cpu_credits",
|
||||
local.workers_group_defaults["cpu_credits"]
|
||||
)
|
||||
}
|
||||
|
||||
monitoring {
|
||||
enabled = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
|
||||
Reference in New Issue
Block a user