Skip to content

Commit f035bc6

Browse files
committed
fix: add missing name to outputs
Signed-off-by: Kevin Lefevre <[email protected]>
1 parent c91c0c6 commit f035bc6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ No modules.
6262
| <a name="output_id"></a> [id](#output\_id) | The ID of the cluster. |
6363
| <a name="output_kubeconfig"></a> [kubeconfig](#output\_kubeconfig) | The Kubernetes configuration. |
6464
| <a name="output_kubeconfig_file"></a> [kubeconfig\_file](#output\_kubeconfig\_file) | The Kubernetes configuration file. |
65+
| <a name="output_name"></a> [name](#output\_name) | The name of the cluster. |
6566
| <a name="output_node_pools"></a> [node\_pools](#output\_node\_pools) | Node Pools configuration and status. |
6667
| <a name="output_status"></a> [status](#output\_status) | The status of the Kubernetes cluster. |
6768
| <a name="output_token"></a> [token](#output\_token) | Token for authenticating to API-Server. |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ output "id" {
33
description = "The ID of the cluster."
44
}
55

6+
output "name" {
7+
value = scaleway_k8s_cluster.this.name
8+
description = "The name of the cluster."
9+
}
10+
611
output "created_at" {
712
value = scaleway_k8s_cluster.this.created_at
813
description = "The creation date of the cluster."

0 commit comments

Comments
 (0)