mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-29 13:41:47 +02:00
add workers_asg_names to outputs
This commit is contained in:
@@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- manage eks workers' root volume size and type
|
- manage eks workers' root volume size and type
|
||||||
|
- `workers_asg_names` added to outputs.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -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_iam_role_name | IAM role name attached to EKS workers |
|
||||||
| worker_security_group_id | Security group ID attached to the 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_arns | IDs of the autoscaling groups containing workers. |
|
||||||
|
| workers_asg_names | Names of the autoscaling groups containing workers. |
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,11 @@ output "workers_asg_arns" {
|
|||||||
value = "${aws_autoscaling_group.workers.*.arn}"
|
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" {
|
output "worker_security_group_id" {
|
||||||
description = "Security group ID attached to the EKS workers."
|
description = "Security group ID attached to the EKS workers."
|
||||||
value = "${local.worker_security_group_id}"
|
value = "${local.worker_security_group_id}"
|
||||||
|
|||||||
Reference in New Issue
Block a user