mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 16:23:58 +01:00
Merge pull request #272 from syst0m/master
Added output for generated kubeconfig filename
This commit is contained in:
@@ -39,6 +39,11 @@ output "kubeconfig" {
|
||||
value = "${data.template_file.kubeconfig.rendered}"
|
||||
}
|
||||
|
||||
output "kubeconfig_filename" {
|
||||
description = "The filename of the generated kubectl config."
|
||||
value = "${element(concat(local_file.kubeconfig.*.filename, list("")), 0)}"
|
||||
}
|
||||
|
||||
output "workers_asg_arns" {
|
||||
description = "IDs of the autoscaling groups containing workers."
|
||||
value = "${concat(aws_autoscaling_group.workers.*.arn, aws_autoscaling_group.workers_launch_template.*.arn)}"
|
||||
|
||||
Reference in New Issue
Block a user