You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ For questions or issues with the provider, open up an issue in the provider GitH
174
174
175
175
-`api_key` (String, Sensitive) The Spectro Cloud API key. Can also be set with the `SPECTROCLOUD_APIKEY` environment variable.
176
176
-`host` (String) The Spectro Cloud API host url. Can also be set with the `SPECTROCLOUD_HOST` environment variable. Defaults to https://api.spectrocloud.com
177
-
-`ignore_insecure_tls_error` (Boolean) Ignore insecure TLS errors for Spectro Cloud API endpoints. Defaults to false.
177
+
-`ignore_insecure_tls_error` (Boolean) Ignore insecure TLS errors for Spectro Cloud API endpoints. ⚠️ WARNING: Setting this to true disables SSL certificate verification and makes connections vulnerable to man-in-the-middle attacks. Only use this in development/testing environments or when connecting to self-signed certificates in trusted networks. Defaults to false.
178
178
-`project_name` (String) The Palette project the provider will target. If no value is provided, the `Default` Palette project is used. The default value is `Default`.
179
179
-`retry_attempts` (Number) Number of retry attempts. Can also be set with the `SPECTROCLOUD_RETRY_ATTEMPTS` environment variable. Defaults to 10.
180
180
-`trace` (Boolean) Enable HTTP request tracing. Can also be set with the `SPECTROCLOUD_TRACE` environment variable. To enable Terraform debug logging, set `TF_LOG=DEBUG`. Visit the Terraform documentation to learn more about Terraform [debugging](https://developer.hashicorp.com/terraform/plugin/log/managing).
The import will automatically populate all configuration fields from the Spectro Cloud API, including the UID, tags, and tunnel configuration settings. The `wait` field will be set to `false` by default for imported appliances. After import, you can run `terraform plan` to see the current configuration and make any necessary adjustments.
35
+
36
+
**Note**: Since this is a project-level resource, ensure your provider is configured with appropriate project-level credentials and access.
Note: During import, the application's configuration will be automatically populated from the Spectro Cloud API, including the correct cluster context.
Backup Storage Locations can be imported using either a simple ID format or with explicit context specification. This resource supports both project and tenant contexts.
-`project` or `tenant` specifies the context where the backup storage location exists
67
+
68
+
**Import behavior:**
69
+
- If no context is specified, it defaults to `project` context
70
+
- If the resource is not found in the specified context, the import will automatically try the other context
71
+
- The import will automatically populate all configuration fields from the Spectro Cloud API, including the correct context, storage provider, and all provider-specific settings
72
+
73
+
After import, you can run `terraform plan` to see the current configuration and make any necessary adjustments.
-`cloud` (String) The Azure partition in which the cloud account is located.
37
-
Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions.
37
+
Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions or 'AzureUSSecretCloud' for Azure Secret Cloud regions.
38
38
Default is 'AzurePublicCloud'.
39
39
-`context` (String) The context of the Azure configuration. 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).
40
40
-`disable_properties_request` (Boolean) Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is `false`.
41
41
-`private_cloud_gateway_id` (String) ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
42
42
-`tenant_name` (String) The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
43
+
-`tls_cert` (String) TLS certificate for authentication. This field is only allowed when cloud is set to 'AzureUSSecretCloud'.
Copy file name to clipboardExpand all lines: docs/resources/cluster_maas.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,10 @@ Required:
169
169
170
170
-`domain` (String) Domain name in which the cluster to be provisioned.
171
171
172
+
Optional:
173
+
174
+
-`enable_lxd_vm` (Boolean) Whether to enable LXD VM. Default is `false`.
175
+
172
176
173
177
<aid="nestedblock--machine_pool"></a>
174
178
### Nested Schema for `machine_pool`
@@ -179,6 +183,7 @@ Required:
179
183
-`count` (Number) Number of nodes in the machine pool.
180
184
-`instance_type` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--machine_pool--instance_type))
181
185
-`name` (String) Name of the machine pool.
186
+
-`network` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--machine_pool--network))
182
187
-`placement` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--machine_pool--placement))
183
188
184
189
Optional:
@@ -193,6 +198,7 @@ Optional:
193
198
-`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.
194
199
-`taints` (Block List) (see [below for nested schema](#nestedblock--machine_pool--taints))
195
200
-`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`.
The import will automatically populate all configuration fields from the Spectro Cloud API, including the associated Private Cloud Gateway ID, search domain name, data center, and network. After import, you can run `terraform plan` to see the current configuration and make any necessary adjustments.
43
+
44
+
**Note**: Since this is a tenant-level resource, ensure your provider is configured with appropriate tenant-level credentials and access.
0 commit comments