From 6cb3d88bd3d69637eda7a0b2b90469ae3e78dde2 Mon Sep 17 00:00:00 2001 From: urizaf Date: Thu, 20 Nov 2025 05:37:44 +0200 Subject: [PATCH] add placement group outputs Signed-off-by: urizaf --- modules/eks-managed-node-group/outputs.tf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/eks-managed-node-group/outputs.tf b/modules/eks-managed-node-group/outputs.tf index a7d6fcf62b..4c7adb4a76 100644 --- a/modules/eks-managed-node-group/outputs.tf +++ b/modules/eks-managed-node-group/outputs.tf @@ -93,3 +93,23 @@ output "security_group_id" { description = "ID of the security group" value = try(aws_security_group.this[0].id, null) } + +################################################################################ +# Placement Group +################################################################################ + + +output "placement_group_id" { + description = "The ID of the created placement group" + value = try(aws_placement_group.this[0].id, null) +} + +output "placement_group_arn" { + description = "The ARN of the created placement group" + value = try(aws_placement_group.this[0].arn, null) +} + +output "placement_group_name" { + description = "The name of the created placement group" + value = try(aws_placement_group.this[0].name, null) +} \ No newline at end of file