add workers_asg_names to outputs

This commit is contained in:
Andrew Lavery
2018-07-20 10:17:25 -07:00
parent 2814efcb8a
commit 6206484f44
3 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Added
- manage eks workers' root volume size and type
- `workers_asg_names` added to outputs.
### Changed

View File

@@ -132,4 +132,5 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
| worker_iam_role_name | IAM role name 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. |
| workers_asg_names | Names of the autoscaling groups containing workers. |

View File

@@ -44,6 +44,11 @@ output "workers_asg_arns" {
value = "${aws_autoscaling_group.workers.*.arn}"
}
output "workers_asg_names" {
description = "Names of the autoscaling groups containing workers."
value = "${aws_autoscaling_group.workers.*.id}"
}
output "worker_security_group_id" {
description = "Security group ID attached to the EKS workers."
value = "${local.worker_security_group_id}"