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