File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
2121- Fix cluster_oidc_issuer_url output from list to string (by @chewvader )
2222- Fix idempotency issues for node groups with no remote_access configuration (by @jeffmhastings )
2323- Added support to create IAM OpenID Connect Identity Provider to enable EKS Identity Roles for Service Accounts (IRSA). (by @alaa )
24+ - Adding node group iam role arns to outputs. (by @mukgupta )
2425
2526#### Important notes
2627
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
220220| config\_map\_aws\_auth | A kubernetes configuration to authenticate to this EKS cluster. |
221221| kubeconfig | kubectl config file contents for this EKS cluster. |
222222| kubeconfig\_filename | The filename of the generated kubectl config. |
223+ | node\_groups\_iam\_role\_arns | IAM role ARNs for EKS node groups |
223224| worker\_autoscaling\_policy\_arn | ARN of the worker autoscaling IAM policy if `manage_worker_autoscaling_policy = true` |
224225| worker\_autoscaling\_policy\_name | Name of the worker autoscaling IAM policy if `manage_worker_autoscaling_policy = true` |
225226| worker\_iam\_instance\_profile\_arns | default IAM instance profile ARN for EKS worker groups |
Original file line number Diff line number Diff line change @@ -157,3 +157,11 @@ output "worker_autoscaling_policy_arn" {
157157 description = " ARN of the worker autoscaling IAM policy if `manage_worker_autoscaling_policy = true`"
158158 value = concat (aws_iam_policy. worker_autoscaling [* ]. arn , [" " ])[0 ]
159159}
160+
161+ output "node_groups_iam_role_arns" {
162+ description = " IAM role ARNs for EKS node groups"
163+ value = {
164+ for node_group in aws_eks_node_group . workers :
165+ node_group.node_group_name = > node_group.node_role_arn
166+ }
167+ }
You can’t perform that action at this time.
0 commit comments