Merge pull request #14 from artursmet/add-iam-role-output

Add IAM role output
This commit is contained in:
Brandon J. O'Connor
2018-06-13 18:16:27 -07:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -119,3 +119,4 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
| kubeconfig | kubectl config file contents for this EKS cluster. |
| worker_security_group_id | Security group ID attached to the EKS workers. |
| workers_asg_arns | IDs of the autoscaling groups containing workers. |
| worker_iam_role_name | IAM role name attached to EKS workers. |

View File

@@ -48,3 +48,8 @@ output "worker_security_group_id" {
description = "Security group ID attached to the EKS workers."
value = "${local.worker_security_group_id}"
}
output "worker_iam_role_name" {
description = "IAM role name attached to EKS workers"
value = "${aws_iam_role.workers.name}"
}