Skip to content

Commit

Permalink
refresh docs (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM authored Feb 1, 2024
1 parent 1fba86f commit 8b523cb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/appliances.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ output "same" {
### Optional

- `architecture` (String) The architecture of the appliance. Supported values are: 'amd64', and 'arm64'. If not specified, all appliances are returned.
- `context` (String) The context of the appliances. Allowed values are `project` or `tenant`. Defaults to `project`.If the `project` context is specified, the project name will sourced from the provider configuration parameter [`project_name`](https://registry.terraform.io/providers/spectrocloud/spectrocloud/latest/docs#schema).
- `health` (String) The health of the appliance. Supported values are: 'healthy', and 'unhealthy'. If not specified, all appliances are returned.
- `status` (String) The status of the appliance. Supported values are: 'ready', 'in-use', and 'unpaired'. If not specified, all appliances are returned.
- `tags` (Map of String) A list of tags to filter the appliances.
Expand Down
3 changes: 2 additions & 1 deletion docs/resources/cluster_edge_native.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ Refer to the [Import section](/docs#import) to learn more.
Optional:

- `ntp_servers` (Set of String) A list of NTP servers to be used by the cluster.
- `overlay_cidr_range` (String) The `overlay_cidr_range` parameter configures the overlay network. When `overlay_cidr_range` is set, it enables the overlay network. For example, `100.64.192.0/24`
- `ssh_keys` (Set of String) List of public SSH (Secure Shell) to establish, administer, and communicate with remote clusters.
- `vip` (String)
- `vip` (String) The `vip` can be specified as either an IP address or a fully qualified domain name (FQDN). If `overlay_cidr_range` is set, the vip should fall within the specified `overlay_cidr_range` range.


<a id="nestedblock--machine_pool"></a>
Expand Down
4 changes: 2 additions & 2 deletions examples/e2e/edge-native/resource_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ resource "spectrocloud_cluster_edge_native" "cluster" {
}

cloud_config {
ssh_keys = ["spectro2022", "spectro2023"]
vip = "100.0.0.1"
ssh_keys = ["spectro2022", "spectro2023"]
vip = "100.0.0.1"
overlay_cidr_range = "100.12.22.11/12"
}

Expand Down
2 changes: 1 addition & 1 deletion spectrocloud/resource_cluster_edge_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func resourceClusterEdgeNative() *schema.Resource {
"vip": {
Type: schema.TypeString,
Optional: true,
Description: "The control plane endpoint can be specified as either an IP address or a fully qualified domain name (FQDN).",
Description: "The `vip` can be specified as either an IP address or a fully qualified domain name (FQDN). If `overlay_cidr_range` is set, the vip should fall within the specified `overlay_cidr_range` range.",
},
"overlay_cidr_range": {
Type: schema.TypeString,
Expand Down

0 comments on commit 8b523cb

Please sign in to comment.