diff --git a/outputs.tf b/outputs.tf index 12041d9..dee4b7c 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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)}"