Added outputs for labels and taints and updated example to show usage of labels and taints (#2109)

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
tculp
2022-06-18 11:11:49 -04:00
committed by GitHub
parent a4c61f41f9
commit d10b173a2d
4 changed files with 54 additions and 0 deletions

View File

@@ -46,6 +46,16 @@ output "node_group_status" {
value = try(aws_eks_node_group.this[0].arn, "")
}
output "node_group_labels" {
description = "Map of labels applied to the node group"
value = try(aws_eks_node_group.this[0].labels, {})
}
output "node_group_taints" {
description = "List of objects containing information about taints applied to the node group"
value = try(aws_eks_node_group.this[0].taint, [])
}
################################################################################
# Security Group
################################################################################