mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 02:11:04 +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}"
|
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" {
|
output "workers_asg_arns" {
|
||||||
description = "IDs of the autoscaling groups containing workers."
|
description = "IDs of the autoscaling groups containing workers."
|
||||||
value = "${concat(aws_autoscaling_group.workers.*.arn, aws_autoscaling_group.workers_launch_template.*.arn)}"
|
value = "${concat(aws_autoscaling_group.workers.*.arn, aws_autoscaling_group.workers_launch_template.*.arn)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user