Skip to content

Commit d51f33f

Browse files
committed
added docs comment
1 parent 1ade25b commit d51f33f

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

docs/resources/cluster_eks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Required:
181181
Optional:
182182

183183
- `additional_labels` (Map of String)
184-
- `ami_type` (String) Specifies the type of Amazon Machine Image (AMI) to use for the machine pool. Available from Palette **v4.7.0**. Valid values are [`AL2_x86_64`, `AL2_x86_64_GPU`, `AL2023_x86_64_STANDARD`, `AL2023_x86_64_NEURON` and `AL2023_x86_64_NVIDIA`]. Defaults to `AL2_x86_64`.
184+
- `ami_type` (String) Specifies the type of Amazon Machine Image (AMI) to use for the machine pool. Valid values are [`AL2_x86_64`, `AL2_x86_64_GPU`, `AL2023_x86_64_STANDARD`, `AL2023_x86_64_NEURON` and `AL2023_x86_64_NVIDIA`]. Defaults to `AL2_x86_64`.
185185
- `az_subnets` (Map of String) Mutually exclusive with `azs`. Use for Static provisioning.
186186
- `azs` (List of String) Mutually exclusive with `az_subnets`.
187187
- `capacity_type` (String) Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.

docs/resources/cluster_maas.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Required:
171171

172172
Optional:
173173

174-
- `enable_lxd_vm` (Boolean) Whether to enable LXD VM. Default is `false`.
174+
- `enable_lxd_vm` (Boolean) Whether to enable LXD VM. Default is `false`. Available once **Palette with LXD support** is released.
175175

176176

177177
<a id="nestedblock--machine_pool"></a>
@@ -192,13 +192,13 @@ Optional:
192192
- `control_plane_as_worker` (Boolean) Whether this machine pool is a control plane and a worker. Defaults to `false`.
193193
- `max` (Number) Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
194194
- `min` (Number) Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
195-
- `network` (Block List, Max: 1) (see [below for nested schema](#nestedblock--machine_pool--network))
195+
- `network` (Block List, Max: 1) Network configuration for the machine pool. Available once **Palette with LXD support** is released. (see [below for nested schema](#nestedblock--machine_pool--network))
196196
- `node` (Block List) (see [below for nested schema](#nestedblock--machine_pool--node))
197197
- `node_repave_interval` (Number) Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is `0`, Applicable only for worker pools.
198198
- `node_tags` (Set of String) Node tags to dynamically place nodes in a pool by using MAAS automatic tags. Specify the tag values that you want to apply to all nodes in the node pool.
199199
- `taints` (Block List) (see [below for nested schema](#nestedblock--machine_pool--taints))
200200
- `update_strategy` (String) Update strategy for the machine pool. Valid values are `RollingUpdateScaleOut` and `RollingUpdateScaleIn`.
201-
- `use_lxd_vm` (Boolean) Whether to use LXD VM. Default is `false`.
201+
- `use_lxd_vm` (Boolean) Whether to use LXD VM. Default is `false`. Available once **Palette with LXD support** is released.
202202

203203
<a id="nestedblock--machine_pool--instance_type"></a>
204204
### Nested Schema for `machine_pool.instance_type`

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/hashicorp/terraform-plugin-docs v0.22.0
1212
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0
1313
github.com/robfig/cron v1.2.0
14-
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917121251-4e6e19ecb75e
14+
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917122649-d6a44024432f
1515
github.com/stretchr/testify v1.11.1
1616
gopkg.in/yaml.v3 v3.0.1
1717
gotest.tools v2.2.0+incompatible

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ
320320
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
321321
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
322322
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
323-
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917121251-4e6e19ecb75e h1:pMqS9fmZQEV2uC4IktJxm68NYTjjuDCzNki3Dgwkxqk=
324-
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917121251-4e6e19ecb75e/go.mod h1:wIt8g7I7cmcQvTo5ktwhSF0/bWq6uRdxGBs9dwTpleU=
323+
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917122649-d6a44024432f h1:JJJd451FsK5T7UtQFe9Ej/kYqhdVEkcrl24KFtTTkDk=
324+
github.com/spectrocloud/palette-sdk-go v0.0.0-20250917122649-d6a44024432f/go.mod h1:wIt8g7I7cmcQvTo5ktwhSF0/bWq6uRdxGBs9dwTpleU=
325325
github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
326326
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
327327
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=

spectrocloud/resource_cluster_eks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func resourceClusterEks() *schema.Resource {
276276
Type: schema.TypeString,
277277
Optional: true,
278278
Default: "AL2_x86_64",
279-
Description: "Specifies the type of Amazon Machine Image (AMI) to use for the machine pool. Available from Palette **v4.7.0**. Valid values are [`AL2_x86_64`, `AL2_x86_64_GPU`, `AL2023_x86_64_STANDARD`, `AL2023_x86_64_NEURON` and `AL2023_x86_64_NVIDIA`]. Defaults to `AL2_x86_64`.",
279+
Description: "Specifies the type of Amazon Machine Image (AMI) to use for the machine pool. Valid values are [`AL2_x86_64`, `AL2_x86_64_GPU`, `AL2023_x86_64_STANDARD`, `AL2023_x86_64_NEURON` and `AL2023_x86_64_NVIDIA`]. Defaults to `AL2_x86_64`.",
280280
},
281281
"capacity_type": {
282282
Type: schema.TypeString,

spectrocloud/resource_cluster_maas.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func resourceClusterMaas() *schema.Resource {
149149
Type: schema.TypeBool,
150150
Optional: true,
151151
Default: false,
152-
Description: "Whether to enable LXD VM. Default is `false`.",
152+
Description: "Whether to enable LXD VM. Default is `false`. Available once **Palette with LXD support** is released.",
153153
},
154154
},
155155
},
@@ -273,12 +273,13 @@ func resourceClusterMaas() *schema.Resource {
273273
Type: schema.TypeBool,
274274
Optional: true,
275275
Default: false,
276-
Description: "Whether to use LXD VM. Default is `false`.",
276+
Description: "Whether to use LXD VM. Default is `false`. Available once **Palette with LXD support** is released.",
277277
},
278278
"network": {
279-
Type: schema.TypeList,
280-
Optional: true,
281-
MaxItems: 1,
279+
Type: schema.TypeList,
280+
Optional: true,
281+
MaxItems: 1,
282+
Description: "Network configuration for the machine pool. Available once **Palette with LXD support** is released.",
282283
Elem: &schema.Resource{
283284
Schema: map[string]*schema.Schema{
284285
"network_name": {

0 commit comments

Comments
 (0)