From 4abb9b697e0c92235bb769f073725d5c9b280878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20J=2E=20Nu=C3=B1ez=20Madrazo?= Date: Wed, 16 Jun 2021 12:34:11 +0100 Subject: [PATCH] Updated the doc for instance and kubernetes resource --- docs/resources/instance.md | 2 +- docs/resources/kubernetes_cluster.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources/instance.md b/docs/resources/instance.md index 34c67a5..e72855b 100644 --- a/docs/resources/instance.md +++ b/docs/resources/instance.md @@ -40,7 +40,7 @@ resource "civo_instance" "my-test-instance" { The following arguments are supported: * `region` - (Optional) The region for the instance, if not declare we use the region in declared in the provider. -* `hostname` - (Required) The Instance hostname. +* `hostname` - (Required) The Instance hostname, if is not declare the provider will generate one for you * `reverse_dns` - (Optional) A fully qualified domain name that should be used as the instance's IP's reverse DNS (optional, uses the hostname if unspecified). * `size` - (Optional) The name of the size, from the current list, e.g. g3.k3s.small (required). * `public_ip_required` - (Optional) This should be either `create`, `none` or `move_ip_from:intances_id`. diff --git a/docs/resources/kubernetes_cluster.md b/docs/resources/kubernetes_cluster.md index 40a2918..699355e 100644 --- a/docs/resources/kubernetes_cluster.md +++ b/docs/resources/kubernetes_cluster.md @@ -51,7 +51,7 @@ provider "kubernetes" { The following arguments are supported: -* `name` - (Required) A name for the Kubernetes cluster. +* `name` - (Optional) A name for the Kubernetes cluster, if is not declare the provider will generate one for you. * `region` - (Optional) The region for the cluster. * `num_target_nodes` - (Optional) The number of instances to create (The default at the time of writing is 3). * `target_nodes_size` - (Optional) The size of each node (The default is currently g3.k3s.small) @@ -64,7 +64,7 @@ The following arguments are supported: In addition to the arguments listed above, the following additional attributes are exported: * `id` - A unique ID that can be used to identify and reference a Kubernetes cluster. -* `name` - The name of your cluster,. +* `name` - The name of your cluster. * `num_target_nodes` - The size of the Kubernetes cluster. * `target_nodes_size` - The size of each node. * `kubernetes_version` - The version of Kubernetes.