From 8e9211b2d5e86be3730877c16fb5cec6515435de Mon Sep 17 00:00:00 2001 From: Justin Barksdale Date: Mon, 19 Sep 2022 08:02:55 -0400 Subject: [PATCH] control plane variable optional --- README.md | 4 ++-- examples/cluster.tf.tf | 2 +- variables.tf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb072d0..284b4f7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ It is referencing a config file located in the config directory which is definin ``` module "pwp-edge01" { - source = "spectrocloud/edge/palette" + source = "spectrocloud/edge/spectrocloud" # Store Number/Location name = "pwp-edge" cluster_tags = [ @@ -95,7 +95,7 @@ No modules. |------|-------------|------|---------|:--------:| | [cluster\_profiles](#input\_cluster\_profiles) | Values for the profile(s) to be used for cluster creation. |
list(object({
name = string
tag = optional(string)
packs = optional(list(object({
name = string
tag = string
values = optional(string)
manifest = optional(list(object({
name = string
tag = string
content = string
})))
})))
}))
| n/a | yes | | [cluster\_tags](#input\_cluster\_tags) | Tags to be added to the profile. key:value | `list(string)` | `[]` | no | -| [edge\_server](#input\_edge\_server) | Values for the attributes of the edge server. |
list(object({
name = string
uuid = string
control_plane = bool
}))
| n/a | yes | +| [edge\_server](#input\_edge\_server) | Values for the attributes of the edge server. |
list(object({
name = string
uuid = string
control_plane = optional(bool)
}))
| n/a | yes | | [name](#input\_name) | Name of the cluster to be created. | `string` | n/a | yes | | [node\_labels](#input\_node\_labels) | A map of labels to use on all nodes. | `map(string)` | `{}` | no | diff --git a/examples/cluster.tf.tf b/examples/cluster.tf.tf index ad2febb..684f7c7 100644 --- a/examples/cluster.tf.tf +++ b/examples/cluster.tf.tf @@ -1,5 +1,5 @@ module "pwp-edge01" { - source = "spectrocloud/edge/palette" + source = "spectrocloud/edge/spectrocloud" # Store Number/Location name = "pwp-edge" cluster_tags = [ diff --git a/variables.tf b/variables.tf index 627f1b1..f519ec6 100644 --- a/variables.tf +++ b/variables.tf @@ -3,7 +3,7 @@ variable "edge_server" { type = list(object({ name = string uuid = string - control_plane = bool + control_plane = optional(bool) })) } variable "cluster_tags" {