Skip to content

Commit 7f97896

Browse files
authored
PLT-1848: Update AZS as required feild for maas cluster (#633)
1 parent 89f6fe5 commit 7f97896

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/cluster_maas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Required:
175175

176176
Required:
177177

178+
- `azs` (Set of String) Availability zones in which the machine pool nodes to be provisioned.
178179
- `count` (Number) Number of nodes in the machine pool.
179180
- `instance_type` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--machine_pool--instance_type))
180181
- `name` (String) Name of the machine pool.
@@ -183,7 +184,6 @@ Required:
183184
Optional:
184185

185186
- `additional_labels` (Map of String) Additional labels to be applied to the machine pool. Labels must be in the form of `key:value`.
186-
- `azs` (Set of String) Availability zones in which the machine pool nodes to be provisioned.
187187
- `control_plane` (Boolean) Whether this machine pool is a control plane. Defaults to `false`.
188188
- `control_plane_as_worker` (Boolean) Whether this machine pool is a control plane and a worker. Defaults to `false`.
189189
- `max` (Number) Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.

spectrocloud/resource_cluster_maas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func resourceClusterMaas() *schema.Resource {
233233
},
234234
"azs": {
235235
Type: schema.TypeSet,
236-
Optional: true,
236+
Required: true,
237237
Set: schema.HashString,
238238
Elem: &schema.Schema{
239239
Type: schema.TypeString,

0 commit comments

Comments
 (0)