Merge pull request #60 from dreamteam-gg/worker_iam_role_arn

Worker IAM role ARN added to outputs.
This commit is contained in:
Brandon J. O'Connor
2018-07-11 01:46:40 -07:00
committed by GitHub
3 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Added
- kubelet_node_labels worker group option allows setting --node-labels= in kubelet. (Hat-tip, @bshelton229 👒)
- `worker_iam_role_arn` added to outputs. Sweet, @hatemosphere 🔥
### Changed

View File

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

View File

@@ -53,3 +53,8 @@ output "worker_iam_role_name" {
description = "IAM role name attached to EKS workers"
value = "${aws_iam_role.workers.name}"
}
output "worker_iam_role_arn" {
description = "IAM role ID attached to EKS workers"
value = "${aws_iam_role.workers.arn}"
}