Skip to content

Commit

Permalink
fix: add missing name to outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <[email protected]>
  • Loading branch information
ArchiFleKs committed Jun 9, 2021
1 parent c91c0c6 commit f035bc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ No modules.
| <a name="output_id"></a> [id](#output\_id) | The ID of the cluster. |
| <a name="output_kubeconfig"></a> [kubeconfig](#output\_kubeconfig) | The Kubernetes configuration. |
| <a name="output_kubeconfig_file"></a> [kubeconfig\_file](#output\_kubeconfig\_file) | The Kubernetes configuration file. |
| <a name="output_name"></a> [name](#output\_name) | The name of the cluster. |
| <a name="output_node_pools"></a> [node\_pools](#output\_node\_pools) | Node Pools configuration and status. |
| <a name="output_status"></a> [status](#output\_status) | The status of the Kubernetes cluster. |
| <a name="output_token"></a> [token](#output\_token) | Token for authenticating to API-Server. |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit f035bc6

Please sign in to comment.