################################################################################ # Launch template ################################################################################ output "launch_template_id" { description = "The ID of the launch template" value = try(aws_launch_template.this[0].id, "") } output "launch_template_arn" { description = "The ARN of the launch template" value = try(aws_launch_template.this[0].arn, "") } output "launch_template_latest_version" { description = "The latest version of the launch template" value = try(aws_launch_template.this[0].latest_version, "") } ################################################################################ # Node Group ################################################################################ output "node_group_arn" { description = "Amazon Resource Name (ARN) of the EKS Node Group" value = try(aws_eks_node_group.this[0].arn, "") } output "node_group_id" { description = "EKS Cluster name and EKS Node Group name separated by a colon (`:`)" value = try(aws_eks_node_group.this[0].id, "") } output "node_group_resources" { description = "List of objects containing information about underlying resources" value = try(aws_eks_node_group.this[0].resources, "") } output "node_group_status" { description = "Status of the EKS Node Group" value = try(aws_eks_node_group.this[0].arn, "") } ################################################################################ # Security Group ################################################################################ output "security_group_arn" { description = "Amazon Resource Name (ARN) of the security group" value = try(aws_security_group.this[0].arn, "") } output "security_group_id" { description = "ID of the security group" value = try(aws_security_group.this[0].id, "") } ################################################################################ # IAM Role ################################################################################ output "iam_role_name" { description = "The name of the IAM role" value = try(aws_iam_role.this[0].name, "") } output "iam_role_arn" { description = "The Amazon Resource Name (ARN) specifying the IAM role" value = try(aws_iam_role.this[0].arn, "") } output "iam_role_unique_id" { description = "Stable and unique string identifying the IAM role" value = try(aws_iam_role.this[0].unique_id, "") }