mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 03:11:06 +01:00
feat: Add outputs for autoscaling group names created to aid in autoscaling group tagging (#1953)
This commit is contained in:
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user