diff --git a/docs/resources/cluster_aks.md b/docs/resources/cluster_aks.md
index 6239e473..0a507cfa 100644
--- a/docs/resources/cluster_aks.md
+++ b/docs/resources/cluster_aks.md
@@ -102,19 +102,19 @@ resource "spectrocloud_cluster_aks" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the AKS cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) The cron schedule for OS patching. This must be in the form of cron syntax. Ex: `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -125,7 +125,7 @@ resource "spectrocloud_cluster_aks" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_aws.md b/docs/resources/cluster_aws.md
index 04df12d6..4fda8c4d 100644
--- a/docs/resources/cluster_aws.md
+++ b/docs/resources/cluster_aws.md
@@ -133,19 +133,19 @@ resource "spectrocloud_cluster_aws" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the AWS cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) The cron schedule for OS patching. This must be in the form of cron syntax. Ex: `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -156,7 +156,7 @@ resource "spectrocloud_cluster_aws" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_azure.md b/docs/resources/cluster_azure.md
index e7e8acd7..aa74d9b7 100644
--- a/docs/resources/cluster_azure.md
+++ b/docs/resources/cluster_azure.md
@@ -96,19 +96,19 @@ resource "spectrocloud_cluster_azure" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the Azure cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -119,7 +119,7 @@ resource "spectrocloud_cluster_azure" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_coxedge.md b/docs/resources/cluster_coxedge.md
index 92ba1391..7147deab 100644
--- a/docs/resources/cluster_coxedge.md
+++ b/docs/resources/cluster_coxedge.md
@@ -25,19 +25,19 @@ description: |-
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the CoxEdge cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -48,7 +48,7 @@ description: |-
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_edge_native.md b/docs/resources/cluster_edge_native.md
index 106235f9..ed697da2 100644
--- a/docs/resources/cluster_edge_native.md
+++ b/docs/resources/cluster_edge_native.md
@@ -26,21 +26,21 @@ description: |-
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cloud_account_id` (String)
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the Edge cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) The cron schedule for OS patching. This must be in the form of cron syntax. Ex: `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/cluster_edge_vsphere.md b/docs/resources/cluster_edge_vsphere.md
index 2141a000..d4ce72f9 100644
--- a/docs/resources/cluster_edge_vsphere.md
+++ b/docs/resources/cluster_edge_vsphere.md
@@ -26,20 +26,20 @@ description: |-
### Optional
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the Edge cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/cluster_eks.md b/docs/resources/cluster_eks.md
index 784b0468..c7216525 100644
--- a/docs/resources/cluster_eks.md
+++ b/docs/resources/cluster_eks.md
@@ -100,20 +100,20 @@ resource "spectrocloud_cluster_eks" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the EKS cluster. Can be `project` or `tenant`. Default is `project`.
- `fargate_profile` (Block List) (see [below for nested schema](#nestedblock--fargate_profile))
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -124,7 +124,7 @@ resource "spectrocloud_cluster_eks" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_gcp.md b/docs/resources/cluster_gcp.md
index 09f1ced9..f8487aa8 100644
--- a/docs/resources/cluster_gcp.md
+++ b/docs/resources/cluster_gcp.md
@@ -93,19 +93,19 @@ resource "spectrocloud_cluster_gcp" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the GCP cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -116,7 +116,7 @@ resource "spectrocloud_cluster_gcp" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_libvirt.md b/docs/resources/cluster_libvirt.md
index 904d8dec..4dcd1a14 100644
--- a/docs/resources/cluster_libvirt.md
+++ b/docs/resources/cluster_libvirt.md
@@ -26,21 +26,21 @@ description: |-
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cloud_account_id` (String)
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the Libvirt cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) Date and time after which to patch cluster `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/cluster_maas.md b/docs/resources/cluster_maas.md
index b26a3065..049ad7a6 100644
--- a/docs/resources/cluster_maas.md
+++ b/docs/resources/cluster_maas.md
@@ -101,21 +101,21 @@ resource "spectrocloud_cluster_maas" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cloud_account_id` (String)
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the MAAS cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/cluster_openstack.md b/docs/resources/cluster_openstack.md
index 4ac6ddf1..8161e047 100644
--- a/docs/resources/cluster_openstack.md
+++ b/docs/resources/cluster_openstack.md
@@ -93,20 +93,20 @@ resource "spectrocloud_cluster_openstack" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the OpenStack cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/cluster_tke.md b/docs/resources/cluster_tke.md
index 2595268b..bc613295 100644
--- a/docs/resources/cluster_tke.md
+++ b/docs/resources/cluster_tke.md
@@ -27,16 +27,16 @@ description: |-
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the TKE cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -47,7 +47,7 @@ description: |-
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `cloud_config`
diff --git a/docs/resources/cluster_vsphere.md b/docs/resources/cluster_vsphere.md
index a55c1c2c..8f2eeef2 100644
--- a/docs/resources/cluster_vsphere.md
+++ b/docs/resources/cluster_vsphere.md
@@ -27,20 +27,20 @@ description: |-
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cluster_meta_attribute` (String) `cluster_meta_attribute` can be used to set additional cluster metadata information, eg `{'nic_name': 'test', 'env': 'stage'}`
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String) The context of the VMware cluster. Can be `project` or `tenant`. Default is `project`.
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
-- `host_config` (Block List) (see [below for nested schema](#nestedblock--host_config))
+- `host_config` (Block List) The host configuration for the cluster. (see [below for nested schema](#nestedblock--host_config))
- `location_config` (Block List) (see [below for nested schema](#nestedblock--location_config))
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) The cron schedule for OS patching. This must be in the form of cron syntax. Ex: `0 0 * * *`.
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
diff --git a/docs/resources/virtual_cluster.md b/docs/resources/virtual_cluster.md
index 1439df0b..5e25498a 100644
--- a/docs/resources/virtual_cluster.md
+++ b/docs/resources/virtual_cluster.md
@@ -57,22 +57,22 @@ resource "spectrocloud_virtual_cluster" "cluster" {
### Optional
- `apply_setting` (String) The setting to apply the cluster profile. `DownloadAndInstall` will download and install packs in one action. `DownloadAndInstallLater` will only download artifact and postpone install for later. Default value is `DownloadAndInstall`.
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
- `cloud_config` (Block List, Max: 1) (see [below for nested schema](#nestedblock--cloud_config))
- `cluster_group_uid` (String)
- `cluster_profile` (Block List) (see [below for nested schema](#nestedblock--cluster_profile))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `context` (String)
- `force_delete` (Boolean) If set to `true`, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
- `force_delete_delay` (Number) Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- `host_cluster_uid` (String)
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `os_patch_after` (String) The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: `RFC3339: 2006-01-02T15:04:05Z07:00`
- `os_patch_on_boot` (Boolean) Whether to apply OS patch on boot. Default is `false`.
- `os_patch_schedule` (String) Cron schedule for OS patching. This must be in the form of `0 0 * * *`.
- `pause_cluster` (Boolean) To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- `resources` (Block List) (see [below for nested schema](#nestedblock--resources))
-- `scan_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--scan_policy))
+- `scan_policy` (Block List, Max: 1) The scan policy for the cluster. (see [below for nested schema](#nestedblock--scan_policy))
- `skip_completion` (Boolean) If `true`, the cluster will be created asynchronously. Default value is `false`.
- `tags` (Set of String) A list of tags to be applied to the cluster. Tags must be in the form of `key:value`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -83,7 +83,7 @@ resource "spectrocloud_virtual_cluster" "cluster" {
- `cloud_config_id` (String, Deprecated) ID of the cloud config used for the cluster. This cloud config must be of type `azure`.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for the cluster. This can be used to connect to the cluster using `kubectl`.
-- `location_config` (List of Object) (see [below for nested schema](#nestedatt--location_config))
+- `location_config` (List of Object) The location of the cluster. (see [below for nested schema](#nestedatt--location_config))
### Nested Schema for `backup_policy`
diff --git a/docs/resources/workspace.md b/docs/resources/workspace.md
index cb82356e..feef206e 100644
--- a/docs/resources/workspace.md
+++ b/docs/resources/workspace.md
@@ -108,10 +108,10 @@ data "spectrocloud_backup_storage_location" "bsl" {
### Optional
-- `backup_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--backup_policy))
-- `cluster_rbac_binding` (Block List) (see [below for nested schema](#nestedblock--cluster_rbac_binding))
+- `backup_policy` (Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see [below for nested schema](#nestedblock--backup_policy))
+- `cluster_rbac_binding` (Block List) The RBAC binding for the cluster. (see [below for nested schema](#nestedblock--cluster_rbac_binding))
- `description` (String)
-- `namespaces` (Block List) (see [below for nested schema](#nestedblock--namespaces))
+- `namespaces` (Block List) The namespaces for the cluster. (see [below for nested schema](#nestedblock--namespaces))
- `tags` (Set of String)
### Read-Only
diff --git a/go.mod b/go.mod
index 549e9082..07af1db8 100644
--- a/go.mod
+++ b/go.mod
@@ -9,7 +9,7 @@ require (
github.com/hashicorp/terraform-plugin-docs v0.13.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
github.com/robfig/cron v1.2.0
- github.com/spectrocloud/hapi v1.14.1-0.20231009111108-9588ba704865
+ github.com/spectrocloud/hapi v1.14.1-0.20231012160200-f15227e0915e
github.com/spectrocloud/palette-sdk-go v0.0.0-20231013060410-bba88ae8b60e
github.com/stretchr/testify v1.8.0
gotest.tools v2.2.0+incompatible
diff --git a/go.sum b/go.sum
index b9aed56f..15d25638 100644
--- a/go.sum
+++ b/go.sum
@@ -722,6 +722,8 @@ github.com/spectrocloud/hapi v1.14.1-0.20231003132647-052140fbb298 h1:jJllo8S53h
github.com/spectrocloud/hapi v1.14.1-0.20231003132647-052140fbb298/go.mod h1:aI54jbfaSec1ikHSMOJQ7mMOTaRKpQTRCoMKamhBE9s=
github.com/spectrocloud/hapi v1.14.1-0.20231009111108-9588ba704865 h1:XU5p2Fp2Lk9AeHqPjo88r48UEUXfEZOfzBDm6+l3AvA=
github.com/spectrocloud/hapi v1.14.1-0.20231009111108-9588ba704865/go.mod h1:aI54jbfaSec1ikHSMOJQ7mMOTaRKpQTRCoMKamhBE9s=
+github.com/spectrocloud/hapi v1.14.1-0.20231012160200-f15227e0915e h1:IGvyttVi3H2Wo5GGNP8eAWagFisqkiNXJmxRWiwMwGg=
+github.com/spectrocloud/hapi v1.14.1-0.20231012160200-f15227e0915e/go.mod h1:aI54jbfaSec1ikHSMOJQ7mMOTaRKpQTRCoMKamhBE9s=
github.com/spectrocloud/palette-sdk-go v0.0.0-20230925161114-b76840d1207d h1:4VBWbaMTnMbURawJcOPlDrhNpxj78cxrPwMuh52pegw=
github.com/spectrocloud/palette-sdk-go v0.0.0-20230925161114-b76840d1207d/go.mod h1:Om6X/eH6h787jrynu9NTAeuxFpC15E/Atco5kQwiM90=
github.com/spectrocloud/palette-sdk-go v0.0.0-20231010040555-aa4af299ece2 h1:rrzNLA8/3ar0eVrm8CWCk4D1MQffjCw73T7+94PYoMk=
diff --git a/spectrocloud/schemas/backup_policy.go b/spectrocloud/schemas/backup_policy.go
index 57c87fb0..04a64e75 100644
--- a/spectrocloud/schemas/backup_policy.go
+++ b/spectrocloud/schemas/backup_policy.go
@@ -4,9 +4,10 @@ import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
func BackupPolicySchema() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Optional: true,
- MaxItems: 1,
+ Type: schema.TypeList,
+ Optional: true,
+ MaxItems: 1,
+ Description: "The backup policy for the cluster. If not specified, no backups will be taken.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"prefix": {
@@ -60,9 +61,8 @@ func BackupPolicySchema() *schema.Schema {
Description: "The list of cluster UIDs to include in the backup. If `include_all_clusters` is set to `true`, then all clusters will be included.",
},
"include_all_clusters": {
- Type: schema.TypeBool,
- Optional: true,
- //Default: true,
+ Type: schema.TypeBool,
+ Optional: true,
Description: "Whether to include all clusters in the backup. If set to false, only the clusters specified in `cluster_uids` will be included.",
},
},
diff --git a/spectrocloud/schemas/cluster_host_config.go b/spectrocloud/schemas/cluster_host_config.go
index 8d8abbef..28e5939c 100644
--- a/spectrocloud/schemas/cluster_host_config.go
+++ b/spectrocloud/schemas/cluster_host_config.go
@@ -7,8 +7,9 @@ import (
func ClusterHostConfigSchema() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Optional: true,
+ Type: schema.TypeList,
+ Optional: true,
+ Description: "The host configuration for the cluster.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"host_endpoint_type": {
diff --git a/spectrocloud/schemas/cluster_location_config.go b/spectrocloud/schemas/cluster_location_config.go
index 24659dce..147fa68f 100644
--- a/spectrocloud/schemas/cluster_location_config.go
+++ b/spectrocloud/schemas/cluster_location_config.go
@@ -64,33 +64,40 @@ func ClusterLocationSchema() *schema.Schema {
func ClusterLocationSchemaComputed() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Computed: true,
+ Type: schema.TypeList,
+ Computed: true,
+ Description: "The location of the cluster.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"country_code": {
- Type: schema.TypeString,
- Computed: true,
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The country code of the country the cluster is located in.",
},
"country_name": {
- Type: schema.TypeString,
- Computed: true,
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The name of the country.",
},
"region_code": {
- Type: schema.TypeString,
- Computed: true,
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The region code of where the cluster is located in.",
},
"region_name": {
- Type: schema.TypeString,
- Computed: true,
+ Type: schema.TypeString,
+ Computed: true,
+ Description: "The name of the region.",
},
"latitude": {
- Type: schema.TypeFloat,
- Computed: true,
+ Type: schema.TypeFloat,
+ Computed: true,
+ Description: "The latitude coordinates value.",
},
"longitude": {
- Type: schema.TypeFloat,
- Computed: true,
+ Type: schema.TypeFloat,
+ Computed: true,
+ Description: "The longitude coordinates value.",
},
},
},
diff --git a/spectrocloud/schemas/cluster_namespaces.go b/spectrocloud/schemas/cluster_namespaces.go
index 4e3e74e9..19ac3189 100644
--- a/spectrocloud/schemas/cluster_namespaces.go
+++ b/spectrocloud/schemas/cluster_namespaces.go
@@ -4,8 +4,9 @@ import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
func ClusterNamespacesSchema() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Optional: true,
+ Type: schema.TypeList,
+ Optional: true,
+ Description: "The namespaces for the cluster.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
diff --git a/spectrocloud/schemas/cluster_rbac_binding.go b/spectrocloud/schemas/cluster_rbac_binding.go
index 3c59694e..61514193 100644
--- a/spectrocloud/schemas/cluster_rbac_binding.go
+++ b/spectrocloud/schemas/cluster_rbac_binding.go
@@ -7,8 +7,9 @@ import (
func ClusterRbacBindingSchema() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Optional: true,
+ Type: schema.TypeList,
+ Optional: true,
+ Description: "The RBAC binding for the cluster.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"type": {
diff --git a/spectrocloud/schemas/scan_policy.go b/spectrocloud/schemas/scan_policy.go
index c6a755d7..7ea0c3ae 100644
--- a/spectrocloud/schemas/scan_policy.go
+++ b/spectrocloud/schemas/scan_policy.go
@@ -4,9 +4,10 @@ import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
func ScanPolicySchema() *schema.Schema {
return &schema.Schema{
- Type: schema.TypeList,
- Optional: true,
- MaxItems: 1,
+ Type: schema.TypeList,
+ Optional: true,
+ MaxItems: 1,
+ Description: "The scan policy for the cluster.",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"configuration_scan_schedule": {