Merge pull request #272 from syst0m/master

Added output for generated kubeconfig filename
This commit is contained in:
Anton Babenko
2019-02-18 17:38:52 +01:00
committed by GitHub

View File

@@ -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)}"