diff --git a/Makefile b/Makefile index 5d2bcdd1..cf198e1f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BIN_NAME=terraform-provider-instaclustr -VERSION=2.0.118 +VERSION=2.0.119 FULL_BIN_NAME="${BIN_NAME}_v${VERSION}" SHASUM_NAME="${BIN_NAME}_${VERSION}_SHA256SUMS" diff --git a/docs/data-sources/cassandra_cluster_v2_instance.md b/docs/data-sources/cassandra_cluster_v2_instance.md index 3c7419d4..26405321 100644 --- a/docs/data-sources/cassandra_cluster_v2_instance.md +++ b/docs/data-sources/cassandra_cluster_v2_instance.md @@ -83,6 +83,9 @@ List of data centre settings.
*___replication_factor___*
Type: integer, read-only

Number of racks to use when allocating nodes.

+*___current_operations___*
+Type: nested block, read-only, see [current_operations](#nested--current_operations) for nested schema
+
Active operations in the data centre.

*___region___*
Type: string, read-only

Region of the Data Centre. See the description for node size for a compatible Data Centre for a given node size.

@@ -147,6 +150,23 @@ The version of Shotover Proxy running on the Cluster.
*___node_size___*
Type: string, read-only

Size of the nodes provisioned as Shotover Proxy nodes in a Privatelink Cassandra Cluster. Available node sizes:
*Amazon Web Services* [__AWS_VPC__]
*Africa (Cape Town)* [__AF_SOUTH_1__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*Asia Pacific (Hong Kong)* [__AP_EAST_1__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*Asia Pacific (Jakarta)* [__AP_SOUTHEAST_3__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Melbourne)* [__AP_SOUTHEAST_4__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*Asia Pacific (Mumbai)* [__AP_SOUTH_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Osaka)* [__AP_NORTHEAST_3__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Seoul)* [__AP_NORTHEAST_2__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Singapore)* [__AP_SOUTHEAST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Sydney)* [__AP_SOUTHEAST_2__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Asia Pacific (Tokyo)* [__AP_NORTHEAST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Canada (Central)* [__CA_CENTRAL_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*EU Central (Frankfurt)* [__EU_CENTRAL_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*EU Central (Zurich)* [__EU_CENTRAL_2__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*EU North (Stockholm)* [__EU_NORTH_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*EU South (Milan)* [__EU_SOUTH_1__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*EU West (Ireland)* [__EU_WEST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*EU West (London)* [__EU_WEST_2__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*EU West (Paris)* [__EU_WEST_3__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*Middle East (Bahrain)* [__ME_SOUTH_1__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*Middle East (UAE)* [__ME_CENTRAL_1__]
Node Size Lifecycle State
CSO-PRD-c5d.2xlarge-186 General Availability
CSO-PRD-c5d.large-46 General Availability
CSO-PRD-c5d.xlarge-93 General Availability

*South America (São Paulo)* [__SA_EAST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*US East (Northern Virginia)* [__US_EAST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*US East (Ohio)* [__US_EAST_2__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*US West (Northern California)* [__US_WEST_1__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability

*US West (Oregon)* [__US_WEST_2__]
Node Size Lifecycle State
CSO-PRD-c6gd.2xlarge-441 General Availability
CSO-PRD-c6gd.large-109 General Availability
CSO-PRD-c6gd.medium-54 General Availability
CSO-PRD-c6gd.xlarge-220 General Availability




+ +## Nested schema for `current_operations` +Active operations in the data centre.
+### Read-only attributes +*___resize___*
+Type: nested block, read-only, see [resize](#nested--resize) for nested schema
+
Active node resize operations

+*___delete_nodes___*
+Type: nested block, read-only, see [delete_nodes](#nested--delete_nodes) for nested schema
+
Latest active delete nodes operation

+ +## Nested schema for `resize` +Active node resize operations
+### Read-only attributes +*___operations___*
+Type: repeatable nested block, read-only, see [operations](#nested--operations) for nested schema
+
## Nested schema for `azure_settings` Azure specific settings for the Data Centre. Cannot be provided with AWS or GCP settings.
@@ -191,6 +211,31 @@ List of deleted nodes in the data centre
*___public_address___*
Type: string, read-only

Public IP address of the node.

+ +## Nested schema for `delete_nodes` +Latest active delete nodes operation
+### Read-only attributes +*___cdc_id___*
+Type: string (uuid), read-only
+
ID of the Cluster Data Centre.

+*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]

+*___modified___*
+Type: string, read-only
+
Timestamp of the last modification of the operation

+*___delete_node_operations___*
+Type: repeatable nested block, read-only, see [delete_node_operations](#nested--delete_node_operations) for nested schema
+
+*___id___*
+Type: string (uuid), read-only
+
Operation id

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

+*___number_of_nodes_to_delete___*
+Type: integer, read-only
+
Number of nodes set to delete in the operation.

## Nested schema for `gcp_settings` GCP specific settings for the Data Centre. Cannot be provided with AWS or Azure settings.
@@ -206,6 +251,25 @@ Examples: - Same-project subnetwork URI: projects/{riyoa-gcp-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}. - Shared VPC subnetwork URI: projects/{riyoa-gcp-host-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}.

+ +## Nested schema for `delete_node_operations` + +### Read-only attributes +*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]

+*___modified___*
+Type: string, read-only
+
Timestamp of the last modification of the operation

+*___id___*
+Type: string (uuid), read-only
+
Operation id

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

+*___node_id___*
+Type: string (uuid), read-only
+
ID of the node being replaced.

## Nested schema for `tag` List of tags to apply to the Data Centre. Tags are metadata labels which allow you to identify, categorize and filter clusters. This can be useful for grouping together clusters into applications, environments, or any category that you require. Note `tag` is not supported in terraform lifecycle `ignore_changes`.
@@ -216,6 +280,37 @@ List of tags to apply to the Data Centre. Tags are metadata labels which allow *___value___*
Type: string, read-only

Value of the tag to be added to the Data Centre.

+ +## Nested schema for `operations` + +### Read-only attributes +*___completed___*
+Type: string, read-only
+
Timestamp of the completion of the operation.

+*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `COMPLETED`, `FAILED`, `DELETED`, `IN_PROGRESS`, `UNKNOWN` ]

Status of the operation

+*___id___*
+Type: string (uuid), read-only
+
ID of the operation.

+*___replace_operations___*
+Type: repeatable nested block, read-only, see [replace_operations](#nested--replace_operations) for nested schema
+
+*___concurrent_resizes___*
+Type: integer, read-only
+
Number of nodes that can be concurrently resized at a given time.

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

+*___node_purpose___*
+Type: string, read-only
+
Purpose of the node

+*___instaclustr_support_alerted___*
+Type: string, read-only
+
Timestamp of when Instaclustr Support has been alerted to the resize operation.

+*___new_node_size___*
+Type: string, read-only
+
New size of the node.

## Nested schema for `nodes` List of non-deleted nodes in the data centre
@@ -247,6 +342,25 @@ List of non-deleted nodes in the data centre
*___public_address___*
Type: string, read-only

Public IP address of the node.

+ +## Nested schema for `replace_operations` + +### Read-only attributes +*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `GENESIS`, `RESIZING_DISK`, `RESIZED_DISK`, `EXPANDED_FILESYSTEM`, `GRACEFULLY_SHUTTING_DOWN`, `CREATING_REPLACEMENT`, `PROVISIONING`, `PROVISIONED`, `BACKEDUP`, `RESTORING`, `FLUSHING`, `FLUSHED`, `SWAPPING`, `SWAPPED`, `CLEARING_INSTALLED_BUNDLES`, `CLEARED_INSTALLED_BUNDLES`, `POST_BUNDLE_PROCESSING`, `RESTARTING`, `REPLACED`, `CANCELLED`, `FAILED`, `UNKNOWN` ]

Status of the node replacement operation.

+*___id___*
+Type: string (uuid), read-only
+
ID of the node replacement operation.

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the node replacement operation.

+*___new_node_id___*
+Type: string (uuid), read-only
+
ID of the new node in the replacement operation.

+*___node_id___*
+Type: string (uuid), read-only
+
ID of the node being replaced.

## Nested schema for `resize_settings` Settings to determine how resize requests will be performed for the cluster.
diff --git a/docs/resources/cassandra_cluster_v2.md b/docs/resources/cassandra_cluster_v2.md index 4749be8e..6268ede3 100644 --- a/docs/resources/cassandra_cluster_v2.md +++ b/docs/resources/cassandra_cluster_v2.md @@ -175,6 +175,9 @@ List of data centre settings.
Type: string, optional, immutable

For customers running in their own account. Your provider account can be found on the Create Cluster page on the Instaclustr Console, or the "Provider Account" property on any existing cluster. For customers provisioning on Instaclustr's cloud provider accounts, this property may be omitted.

### Read-only attributes +*___current_operations___*
+Type: nested block, read-only, see [current_operations](#nested--current_operations) for nested schema
+
Active operations in the data centre.

*___status___*
Type: string, read-only

Status of the Data Centre.

@@ -198,6 +201,23 @@ The version of Shotover Proxy running on the Cluster.
*___version___*
Type: string, read-only
Constraints: pattern: `[0-9]+\.[0-9]+\.[0-9]+`

The version of Shotover Proxy running on the Cluster.Available versions:

+ +## Nested schema for `current_operations` +Active operations in the data centre.
+### Read-only attributes +*___resize___*
+Type: nested block, read-only, see [resize](#nested--resize) for nested schema
+
Active node resize operations

+*___delete_nodes___*
+Type: nested block, read-only, see [delete_nodes](#nested--delete_nodes) for nested schema
+
Latest active delete nodes operation

+ +## Nested schema for `resize` +Active node resize operations
+### Read-only attributes +*___operations___*
+Type: repeatable nested block, read-only, see [operations](#nested--operations) for nested schema
+
## Nested schema for `azure_settings` Azure specific settings for the Data Centre. Cannot be provided with AWS or GCP settings.
@@ -242,6 +262,32 @@ List of deleted nodes in the data centre
*___public_address___*
Type: string, read-only

Public IP address of the node.

+ +## Nested schema for `delete_nodes` +Latest active delete nodes operation
+### Input attributes - Optional +*___status___*
+Type: string, optional, updatable
+Constraints: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]

+*___number_of_nodes_to_delete___*
+Type: integer, optional, updatable
+
Number of nodes set to delete in the operation.

+### Read-only attributes +*___cdc_id___*
+Type: string (uuid), read-only
+
ID of the Cluster Data Centre.

+*___modified___*
+Type: string, read-only
+
Timestamp of the last modification of the operation

+*___delete_node_operations___*
+Type: repeatable nested block, read-only, see [delete_node_operations](#nested--delete_node_operations) for nested schema
+
+*___id___*
+Type: string (uuid), read-only
+
Operation id

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

## Nested schema for `gcp_settings` GCP specific settings for the Data Centre. Cannot be provided with AWS or Azure settings.
@@ -257,6 +303,26 @@ Examples: - Same-project subnetwork URI: projects/{riyoa-gcp-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}. - Shared VPC subnetwork URI: projects/{riyoa-gcp-host-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}.

+ +## Nested schema for `delete_node_operations` + +### Input attributes - Optional +*___status___*
+Type: string, optional, updatable
+Constraints: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]

+### Read-only attributes +*___modified___*
+Type: string, read-only
+
Timestamp of the last modification of the operation

+*___id___*
+Type: string (uuid), read-only
+
Operation id

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

+*___node_id___*
+Type: string (uuid), read-only
+
ID of the node being replaced.

## Nested schema for `tag` List of tags to apply to the Data Centre. Tags are metadata labels which allow you to identify, categorize and filter clusters. This can be useful for grouping together clusters into applications, environments, or any category that you require. Note `tag` is not supported in terraform lifecycle `ignore_changes`.
@@ -267,6 +333,37 @@ List of tags to apply to the Data Centre. Tags are metadata labels which allow *___value___*
Type: string, required, immutable

Value of the tag to be added to the Data Centre.

+ +## Nested schema for `operations` + +### Read-only attributes +*___completed___*
+Type: string, read-only
+
Timestamp of the completion of the operation.

+*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `COMPLETED`, `FAILED`, `DELETED`, `IN_PROGRESS`, `UNKNOWN` ]

Status of the operation

+*___id___*
+Type: string (uuid), read-only
+
ID of the operation.

+*___replace_operations___*
+Type: repeatable nested block, read-only, see [replace_operations](#nested--replace_operations) for nested schema
+
+*___concurrent_resizes___*
+Type: integer, read-only
+
Number of nodes that can be concurrently resized at a given time.

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the operation

+*___node_purpose___*
+Type: string, read-only
+
Purpose of the node

+*___instaclustr_support_alerted___*
+Type: string, read-only
+
Timestamp of when Instaclustr Support has been alerted to the resize operation.

+*___new_node_size___*
+Type: string, read-only
+
New size of the node.

## Nested schema for `nodes` List of non-deleted nodes in the data centre
@@ -298,6 +395,25 @@ List of non-deleted nodes in the data centre
*___public_address___*
Type: string, read-only

Public IP address of the node.

+ +## Nested schema for `replace_operations` + +### Read-only attributes +*___status___*
+Type: string, read-only
+Constraints: allowed values: [ `GENESIS`, `RESIZING_DISK`, `RESIZED_DISK`, `EXPANDED_FILESYSTEM`, `GRACEFULLY_SHUTTING_DOWN`, `CREATING_REPLACEMENT`, `PROVISIONING`, `PROVISIONED`, `BACKEDUP`, `RESTORING`, `FLUSHING`, `FLUSHED`, `SWAPPING`, `SWAPPED`, `CLEARING_INSTALLED_BUNDLES`, `CLEARED_INSTALLED_BUNDLES`, `POST_BUNDLE_PROCESSING`, `RESTARTING`, `REPLACED`, `CANCELLED`, `FAILED`, `UNKNOWN` ]

Status of the node replacement operation.

+*___id___*
+Type: string (uuid), read-only
+
ID of the node replacement operation.

+*___created___*
+Type: string, read-only
+
Timestamp of the creation of the node replacement operation.

+*___new_node_id___*
+Type: string (uuid), read-only
+
ID of the new node in the replacement operation.

+*___node_id___*
+Type: string (uuid), read-only
+
ID of the node being replaced.

## Nested schema for `resize_settings` Settings to determine how resize requests will be performed for the cluster.