From 86b07009d2d3c689366ee8c02b2478c704a9d4b0 Mon Sep 17 00:00:00 2001 From: mybarretto Date: Thu, 10 Feb 2022 10:23:21 -0800 Subject: [PATCH] Exposing IAM Role ARNs as outputs of the EKS module (#250) --- terraform-modules/aws/eks/outputs.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform-modules/aws/eks/outputs.tf b/terraform-modules/aws/eks/outputs.tf index 3ec7c7496..23ab76ebb 100644 --- a/terraform-modules/aws/eks/outputs.tf +++ b/terraform-modules/aws/eks/outputs.tf @@ -31,6 +31,14 @@ output "worker_security_group_id" { value = module.eks.worker_security_group_id } +output "cluster_iam_role_arn" { + value = module.eks.cluster_iam_role_arn +} + +output "worker_iam_role_arn" { + value = module.eks.worker_iam_role_arn +} + output "cluster_arn" { value = module.eks.cluster_arn }