feat: Add outputs for autoscaling group names created to aid in autoscaling group tagging (#1953)

This commit is contained in:
Bryant Biggs
2022-03-22 17:26:00 -04:00
committed by GitHub
parent dd97344d2b
commit 8b03b7b85e
14 changed files with 78 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ output "node_group_resources" {
value = try(aws_eks_node_group.this[0].resources, "")
}
output "node_group_autoscaling_group_names" {
description = "List of the autoscaling group names"
value = try(flatten(aws_eks_node_group.this[0].resources[*].autoscaling_groups[*].name), [])
}
output "node_group_status" {
description = "Status of the EKS Node Group"
value = try(aws_eks_node_group.this[0].arn, "")