adding IAM instance profiles to outputs, addresses #323 (#329)

* adding IAM instance profiles to outputs

* updating changelog

* updated README
This commit is contained in:
soapergem
2019-04-11 08:12:01 -05:00
committed by Max Williams
parent 46ec636b36
commit fb59e4fef4
3 changed files with 13 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Write your awesome addition here (by @you)
- Added outputs for worker IAM instance profile(s) (by @soapergem)
### Changed

View File

@@ -169,6 +169,8 @@ 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. |
| kubeconfig\_filename | The filename of the generated kubectl config. |
| worker\_iam\_instance\_profile\_arns | default IAM instance profile ARNs for EKS worker group |
| worker\_iam\_instance\_profile\_names | default IAM instance profile names for EKS worker group |
| worker\_iam\_role\_arn | default IAM role ARN for EKS worker groups |
| worker\_iam\_role\_name | default IAM role name for EKS worker groups |
| worker\_security\_group\_id | Security group ID attached to the EKS workers. |

View File

@@ -69,6 +69,16 @@ output "worker_security_group_id" {
value = "${local.worker_security_group_id}"
}
output "worker_iam_instance_profile_arns" {
description = "default IAM instance profile ARN for EKS worker groups"
value = "${aws_iam_instance_profile.workers.*.arn}"
}
output "worker_iam_instance_profile_names" {
description = "default IAM instance profile name for EKS worker groups"
value = "${aws_iam_instance_profile.workers.*.name}"
}
output "worker_iam_role_name" {
description = "default IAM role name for EKS worker groups"
value = "${aws_iam_role.workers.name}"