From f035bc611e324b1236ae95ec56923d584766078e Mon Sep 17 00:00:00 2001 From: Kevin Lefevre Date: Wed, 9 Jun 2021 15:06:29 +0200 Subject: [PATCH] fix: add missing name to outputs Signed-off-by: Kevin Lefevre --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index d6f7c5e..cfdfa9c 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ No modules. | [id](#output\_id) | The ID of the cluster. | | [kubeconfig](#output\_kubeconfig) | The Kubernetes configuration. | | [kubeconfig\_file](#output\_kubeconfig\_file) | The Kubernetes configuration file. | +| [name](#output\_name) | The name of the cluster. | | [node\_pools](#output\_node\_pools) | Node Pools configuration and status. | | [status](#output\_status) | The status of the Kubernetes cluster. | | [token](#output\_token) | Token for authenticating to API-Server. | diff --git a/outputs.tf b/outputs.tf index 84767bc..3821bc3 100644 --- a/outputs.tf +++ b/outputs.tf @@ -3,6 +3,11 @@ output "id" { description = "The ID of the cluster." } +output "name" { + value = scaleway_k8s_cluster.this.name + description = "The name of the cluster." +} + output "created_at" { value = scaleway_k8s_cluster.this.created_at description = "The creation date of the cluster."