Skip to content

Commit

Permalink
Merge pull request #354 from arjunrajnetapp/INS-26289-opensearch-inge…
Browse files Browse the repository at this point in the history
…st-lb

Opensearch ingest nodes load balancing support
  • Loading branch information
admintfprovider authored Nov 26, 2023
2 parents 859fcce + 0861d81 commit b57d785
Show file tree
Hide file tree
Showing 13 changed files with 255 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN_NAME=terraform-provider-instaclustr

VERSION=2.0.85
VERSION=2.0.86

FULL_BIN_NAME="${BIN_NAME}_v${VERSION}"
SHASUM_NAME="${BIN_NAME}_${VERSION}_SHA256SUMS"
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/cassandra_cluster_v2_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The following terms are used to describe attributes in the schema of this data s
<br>Status of the cluster.<br><br>
*___cassandra_version___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Cassandra to run on the cluster. Available versions: <ul> <li>`3.11.16`</li> <li>`4.0.11`</li> <li>`4.0.10`</li> <li>`4.1.3`</li> <li>`3.11.15`</li> </ul><br><br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Cassandra to run on the cluster. Available versions: <ul> <li>`4.1.3`</li> <li>`3.11.16`</li> <li>`3.11.15`</li> <li>`4.0.11`</li> <li>`4.0.10`</li> </ul><br><br>
*___id___*<br>
<ins>Type</ins>: string, read-only<br>
<br>ID of the cluster.<br><br>
Expand Down
114 changes: 114 additions & 0 deletions docs/data-sources/mongodb_cluster_v2_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ List of data centre settings.<br>
*___number_of_nodes___*<br>
<ins>Type</ins>: integer, read-only<br>
<br>Total number of MongoDB nodes in the Data Centre.<br><br>
*___current_operations___*<br>
<ins>Type</ins>: nested block, read-only, see [current_operations](#nested--current_operations) for nested schema<br>
<br>Active operations in the data centre.<br><br>
*___region___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Region of the Data Centre. See the description for node size for a compatible Data Centre for a given node size.<br><br>
Expand Down Expand Up @@ -113,6 +116,23 @@ List of data centre settings.<br>
*___provider_account_name___*<br>
<ins>Type</ins>: string, read-only<br>
<br>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.<br><br>
<a id="nested--current_operations"></a>
## Nested schema for `current_operations`
Active operations in the data centre.<br>
### Read-only attributes
*___resize___*<br>
<ins>Type</ins>: nested block, read-only, see [resize](#nested--resize) for nested schema<br>
<br>Active node resize operations<br><br>
*___delete_nodes___*<br>
<ins>Type</ins>: nested block, read-only, see [delete_nodes](#nested--delete_nodes) for nested schema<br>
<br>Latest active delete nodes operation<br><br>
<a id="nested--resize"></a>
## Nested schema for `resize`
Active node resize operations<br>
### Read-only attributes
*___operations___*<br>
<ins>Type</ins>: repeatable nested block, read-only, see [operations](#nested--operations) for nested schema<br>
<br>
<a id="nested--azure_settings"></a>
## Nested schema for `azure_settings`
Azure specific settings for the Data Centre. Cannot be provided with AWS or GCP settings.<br>
Expand Down Expand Up @@ -151,6 +171,31 @@ List of deleted nodes in the data centre<br>
*___public_address___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Public IP address of the node.<br><br>
<a id="nested--delete_nodes"></a>
## Nested schema for `delete_nodes`
Latest active delete nodes operation<br>
### Read-only attributes
*___cdc_id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the Cluster Data Centre.<br><br>
*___status___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]<br><br>
*___modified___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the last modification of the operation<br><br>
*___delete_node_operations___*<br>
<ins>Type</ins>: repeatable nested block, read-only, see [delete_node_operations](#nested--delete_node_operations) for nested schema<br>
<br>
*___id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>Operation id<br><br>
*___created___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the creation of the operation<br><br>
*___number_of_nodes_to_delete___*<br>
<ins>Type</ins>: integer, read-only<br>
<br>Number of nodes set to delete in the operation.<br><br>
<a id="nested--gcp_settings"></a>
## Nested schema for `gcp_settings`
GCP specific settings for the Data Centre. Cannot be provided with AWS or Azure settings.<br>
Expand All @@ -166,6 +211,25 @@ Examples:
- Same-project subnetwork URI: <code>projects/{riyoa-gcp-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}</code>.
- Shared VPC subnetwork URI: <code>projects/{riyoa-gcp-host-project-name}/regions/{region-id}/subnetworks/{subnetwork-name}</code>.
<br><br>
<a id="nested--delete_node_operations"></a>
## Nested schema for `delete_node_operations`

### Read-only attributes
*___status___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: allowed values: [ `GENESIS`, `RUNNING`, `COMPLETED`, `CANCELLED`, `FAILED` ]<br><br>
*___modified___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the last modification of the operation<br><br>
*___id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>Operation id<br><br>
*___created___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the creation of the operation<br><br>
*___node_id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the node being replaced.<br><br>
<a id="nested--tag"></a>
## 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`.<br>
Expand All @@ -176,6 +240,37 @@ List of tags to apply to the Data Centre. Tags are metadata labels which allow
*___value___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Value of the tag to be added to the Data Centre.<br><br>
<a id="nested--operations"></a>
## Nested schema for `operations`

### Read-only attributes
*___completed___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the completion of the operation.<br><br>
*___status___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: allowed values: [ `COMPLETED`, `FAILED`, `DELETED`, `IN_PROGRESS`, `UNKNOWN` ]<br><br>Status of the operation<br><br>
*___id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the operation.<br><br>
*___replace_operations___*<br>
<ins>Type</ins>: repeatable nested block, read-only, see [replace_operations](#nested--replace_operations) for nested schema<br>
<br>
*___concurrent_resizes___*<br>
<ins>Type</ins>: integer, read-only<br>
<br>Number of nodes that can be concurrently resized at a given time.<br><br>
*___created___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the creation of the operation<br><br>
*___node_purpose___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Purpose of the node<br><br>
*___instaclustr_support_alerted___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of when Instaclustr Support has been alerted to the resize operation.<br><br>
*___new_node_size___*<br>
<ins>Type</ins>: string, read-only<br>
<br>New size of the node.<br><br>
<a id="nested--mongodb_configuration"></a>
## Nested schema for `mongodb_configuration`
Key/Value pairs of mongod configuration options to override from the platform defaults<br>
Expand Down Expand Up @@ -217,6 +312,25 @@ List of non-deleted nodes in the data centre<br>
*___public_address___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Public IP address of the node.<br><br>
<a id="nested--replace_operations"></a>
## Nested schema for `replace_operations`

### Read-only attributes
*___status___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: 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` ]<br><br>Status of the node replacement operation.<br><br>
*___id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the node replacement operation.<br><br>
*___created___*<br>
<ins>Type</ins>: string, read-only<br>
<br>Timestamp of the creation of the node replacement operation.<br><br>
*___new_node_id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the new node in the replacement operation.<br><br>
*___node_id___*<br>
<ins>Type</ins>: string (uuid), read-only<br>
<br>ID of the node being replaced.<br><br>
<a id="nested--resize_settings"></a>
## Nested schema for `resize_settings`
Settings to determine how resize requests will be performed for the cluster.<br>
Expand Down
9 changes: 6 additions & 3 deletions docs/data-sources/opensearch_cluster_v2_instance.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/data-sources/postgresql_cluster_v2_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The following terms are used to describe attributes in the schema of this data s
<ins>Constraints</ins>: pattern: `[a-zA-Z0-9][a-zA-Z0-9_-]*`<br><br>Name of the cluster.<br><br>
*___postgresql_version___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Postgresql to run on the cluster. Available versions: <ul> <li>`13.11.0`</li> <li>`13.12.0`</li> <li>`14.9.0`</li> <li>`13.10.0`</li> <li>`14.7.0`</li> <li>`14.8.0`</li> <li>`16.0.0`</li> <li>`15.4.0`</li> <li>`15.2.0`</li> <li>`15.3.0`</li> </ul><br><br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Postgresql to run on the cluster. Available versions: <ul> <li>`13.11.0`</li> <li>`13.12.0`</li> <li>`14.9.0`</li> <li>`13.10.0`</li> <li>`14.7.0`</li> <li>`14.8.0`</li> <li>`15.4.0`</li> <li>`15.2.0`</li> <li>`15.3.0`</li> <li>`16.0.0`</li> </ul><br><br>
*___resize_settings___*<br>
<ins>Type</ins>: nested block, read-only, see [resize_settings](#nested--resize_settings) for nested schema<br>
<br>Settings to determine how resize requests will be performed for the cluster.<br><br>
Expand Down Expand Up @@ -232,7 +232,7 @@ List of non-deleted nodes in the data centre<br>
<ins>Constraints</ins>: allowed values: [ `TRANSACTION`, `SESSION`, `STATEMENT` ]<br><br>Creates PgBouncer with the selected mode, see [PgBouncer pool modes] (https://www.instaclustr.com/support/documentation/postgresql-add-ons/using-pgbouncer/)<br><br>
*___pg_bouncer_version___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Pg Bouncer to run on the cluster. Available versions: <ul> <li>`1.19.0`</li> <li>`1.20.0`</li> <li>`1.18.0`</li> </ul><br><br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Pg Bouncer to run on the cluster. Available versions: <ul> <li>`1.19.0`</li> <li>`1.18.0`</li> <li>`1.20.0`</li> </ul><br><br>
<a id="nested--resize_settings"></a>
## Nested schema for `resize_settings`
Settings to determine how resize requests will be performed for the cluster.<br>
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/redis_cluster_v2_instance.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data-sources/zookeeper_cluster_v2_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The following terms are used to describe attributes in the schema of this data s
<br>Status of the cluster.<br><br>
*___zookeeper_version___*<br>
<ins>Type</ins>: string, read-only<br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Apache Zookeeper to run on the cluster. Available versions: <ul> <li>`3.7.1`</li> <li>`3.8.2`</li> </ul><br><br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Apache Zookeeper to run on the cluster. Available versions: <ul> <li>`3.8.2`</li> </ul><br><br>
*___id___*<br>
<ins>Type</ins>: string, read-only<br>
<br>ID of the cluster.<br><br>
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/cassandra_cluster_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following terms are used to describe attributes in the schema of this resour
<br>Adds Apache Lucene to the Cassandra cluster.<br><br>
*___cassandra_version___*<br>
<ins>Type</ins>: string, required, immutable<br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Cassandra to run on the cluster. Available versions: <ul> <li>`3.11.16`</li> <li>`4.0.11`</li> <li>`4.0.10`</li> <li>`4.1.3`</li> <li>`3.11.15`</li> </ul><br><br>
<ins>Constraints</ins>: pattern: `[0-9]+\.[0-9]+\.[0-9]+`<br><br>Version of Cassandra to run on the cluster. Available versions: <ul> <li>`4.1.3`</li> <li>`3.11.16`</li> <li>`3.11.15`</li> <li>`4.0.11`</li> <li>`4.0.10`</li> </ul><br><br>
*___name___*<br>
<ins>Type</ins>: string, required, immutable<br>
<ins>Constraints</ins>: pattern: `[a-zA-Z0-9][a-zA-Z0-9_-]*`<br><br>Name of the cluster.<br><br>
Expand Down
Loading

0 comments on commit b57d785

Please sign in to comment.