File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1111
1212### Added
1313
14- - Write your awesome addition here ( by @you )
14+ - Added outputs for worker IAM instance profile(s) ( by @soapergem )
1515
1616### Changed
1717
Original file line number Diff line number Diff line change @@ -169,6 +169,8 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
169169| config\_map\_aws\_auth | A kubernetes configuration to authenticate to this EKS cluster. |
170170| kubeconfig | kubectl config file contents for this EKS cluster. |
171171| kubeconfig\_filename | The filename of the generated kubectl config. |
172+ | worker\_iam\_instance\_profile\_arns | default IAM instance profile ARNs for EKS worker group |
173+ | worker\_iam\_instance\_profile\_names | default IAM instance profile names for EKS worker group |
172174| worker\_iam\_role\_arn | default IAM role ARN for EKS worker groups |
173175| worker\_iam\_role\_name | default IAM role name for EKS worker groups |
174176| worker\_security\_group\_id | Security group ID attached to the EKS workers. |
Original file line number Diff line number Diff line change @@ -69,6 +69,16 @@ output "worker_security_group_id" {
6969 value = " ${ local . worker_security_group_id } "
7070}
7171
72+ output "worker_iam_instance_profile_arns" {
73+ description = " default IAM instance profile ARN for EKS worker groups"
74+ value = " ${ aws_iam_instance_profile . workers . * . arn } "
75+ }
76+
77+ output "worker_iam_instance_profile_names" {
78+ description = " default IAM instance profile name for EKS worker groups"
79+ value = " ${ aws_iam_instance_profile . workers . * . name } "
80+ }
81+
7282output "worker_iam_role_name" {
7383 description = " default IAM role name for EKS worker groups"
7484 value = " ${ aws_iam_role . workers . name } "
You can’t perform that action at this time.
0 commit comments