From d83b4b2dde9ea2ea9eb02c53cc8eea2b5c05f330 Mon Sep 17 00:00:00 2001 From: Philip Schmid Date: Thu, 4 Apr 2024 11:40:53 +0200 Subject: [PATCH] Added cluster_name output Signed-off-by: Philip Schmid --- 00-outputs.tf | 7 ++++++- README.md | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/00-outputs.tf b/00-outputs.tf index 605e87a..0f439b5 100644 --- a/00-outputs.tf +++ b/00-outputs.tf @@ -11,4 +11,9 @@ output "path_to_kubeconfig_file" { output "elb_dns_name" { description = "Public ELB DNS name." value = module.elb_k8s_elb.elb_dns_name -} \ No newline at end of file +} + +output "cluster_name" { + description = "Name of cluster" + value = var.cluster_name +} diff --git a/README.md b/README.md index c22dd26..dbb39d0 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ module "talos" { | Name | Description | |------|-------------| +| [cluster\_name](#output\_cluster\_name) | Name of cluster | | [elb\_dns\_name](#output\_elb\_dns\_name) | Public ELB DNS name. | | [path\_to\_kubeconfig\_file](#output\_path\_to\_kubeconfig\_file) | The generated kubeconfig. | | [path\_to\_talosconfig\_file](#output\_path\_to\_talosconfig\_file) | The generated talosconfig. |