fix: Update autoscaling group tags -> tag to support v4 of AWS provider (#1866)

This commit is contained in:
Bryant Biggs
2022-02-15 08:01:52 -05:00
committed by GitHub
parent 9c9ac81e3a
commit 74ad4b09b7
5 changed files with 23 additions and 55 deletions

View File

@@ -54,11 +54,7 @@ module "eks" {
triggers = ["tag"]
}
propogate_tags = [{
key = "aws-node-termination-handler/managed"
value = true
propagate_at_launch = true
}]
tags = { "aws-node-termination-handler/managed" = "true" }
}
mixed_instance = {
@@ -82,11 +78,7 @@ module "eks" {
]
}
propogate_tags = [{
key = "aws-node-termination-handler/managed"
value = true
propagate_at_launch = true
}]
tags = { "aws-node-termination-handler/managed" = "true" }
}
spot = {
@@ -96,12 +88,7 @@ module "eks" {
}
bootstrap_extra_args = "--kubelet-extra-args '--node-labels=node.kubernetes.io/lifecycle=spot'"
propogate_tags = [{
key = "aws-node-termination-handler/managed"
value = true
propagate_at_launch = true
}]
tags = { "aws-node-termination-handler/managed" = "true" }
}
}