Skip to content

Commit 9ff4414

Browse files
authored
Merge branch 'main' into data-read-fix
2 parents 745113d + ab3a9f7 commit 9ff4414

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You need the following permissions to run this module.
100100
| <a name="input_cpu_count"></a> [cpu\_count](#input\_cpu\_count) | Allocated dedicated CPU per member. For shared CPU, set to 0. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling). | `number` | `0` | no |
101101
| <a name="input_deletion_protection"></a> [deletion\_protection](#input\_deletion\_protection) | Enable deletion protection within terraform. This is not a property of the resource and does not prevent deletion outside of terraform. The database can not be deleted by terraform when this value is set to 'true'. In order to delete with terraform the value must be set to 'false' and a terraform apply performed before the destroy is performed. The default is 'true'. | `bool` | `true` | no |
102102
| <a name="input_disk_mb"></a> [disk\_mb](#input\_disk\_mb) | The disk that is allocated per member. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling). | `number` | `5120` | no |
103-
| <a name="input_elasticsearch_version"></a> [elasticsearch\_version](#input\_elasticsearch\_version) | The version of Databases for Elasticsearch to deploy. Possible values: `8.7`, `8.10`, `8.12`, `8.15` which requires an Enterprise Platinum pricing plan. If no value is specified, the current preferred version for IBM Cloud Databases is used. | `string` | `null` | no |
103+
| <a name="input_elasticsearch_version"></a> [elasticsearch\_version](#input\_elasticsearch\_version) | The version of Databases for Elasticsearch to deploy. Possible values: `8.7`, `8.10`, `8.12`, `8.15`, `8.19`, `9.1` which requires an Enterprise Platinum pricing plan. If no value is specified, the current preferred version for IBM Cloud Databases is used. | `string` | `null` | no |
104104
| <a name="input_elser_model_type"></a> [elser\_model\_type](#input\_elser\_model\_type) | Trained ELSER model to be used for Elastic's Natural Language Processing. Possible values: `.elser_model_1`, `.elser_model_2` and `.elser_model_2_linux-x86_64`. Applies only if also 'plan' is set to 'platinum'. [Learn more](https://www.elastic.co/guide/en/machine-learning/current/ml-nlp-elser.html) | `string` | `".elser_model_2_linux-x86_64"` | no |
105105
| <a name="input_enable_elser_model"></a> [enable\_elser\_model](#input\_enable\_elser\_model) | Set it to true to install and start the Elastic's Natural Language Processing model. Applies only if also 'plan' is set to 'platinum'. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-elser-embeddings-elasticsearch) | `bool` | `false` | no |
106106
| <a name="input_kms_key_crn"></a> [kms\_key\_crn](#input\_kms\_key\_crn) | The CRN of a Key Protect or Hyper Protect Crypto Services encryption key to encrypt your data. Applies only if `use_ibm_owned_encryption_key` is false. By default this key is used for both deployment data and backups, but this behaviour can be altered using the `use_same_kms_key_for_backups` and `backup_encryption_key_crn` inputs. Bare in mind that backups encryption is only available in certain regions. See [Bring your own key for backups](https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-key-protect&interface=ui#key-byok) and [Using the HPCS Key for Backup encryption](https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-hpcs#use-hpcs-backups). | `string` | `null` | no |

ibm_catalog.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,16 @@
207207
{
208208
"key": "elasticsearch_version",
209209
"required": true,
210-
"default_value": "8.15",
210+
"default_value": "8.19",
211211
"options": [
212+
{
213+
"displayname": "9.1",
214+
"value": "9.1"
215+
},
216+
{
217+
"displayname": "8.19",
218+
"value": "8.19"
219+
},
212220
{
213221
"displayname": "8.15",
214222
"value": "8.15"
@@ -716,8 +724,16 @@
716724
{
717725
"key": "elasticsearch_version",
718726
"required": true,
719-
"default_value": "8.15",
727+
"default_value": "8.19",
720728
"options": [
729+
{
730+
"displayname": "9.1",
731+
"value": "9.1"
732+
},
733+
{
734+
"displayname": "8.19",
735+
"value": "8.19"
736+
},
721737
{
722738
"displayname": "8.15",
723739
"value": "8.15"

tests/pr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const completeExampleTerraformDir = "examples/complete"
2929
const fscloudExampleTerraformDir = "examples/fscloud"
3030
const fullyConfigurableSolutionTerraformDir = "solutions/fully-configurable"
3131
const securityEnforcedSolutionTerraformDir = "solutions/security-enforced"
32-
const latestVersion = "8.15"
32+
const latestVersion = "9.1"
3333

3434
// Use existing resource group
3535
const resourceGroup = "geretain-test-elasticsearch"

variables.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variable "name" {
1414

1515
variable "elasticsearch_version" {
1616
type = string
17-
description = "The version of Databases for Elasticsearch to deploy. Possible values: `8.7`, `8.10`, `8.12`, `8.15` which requires an Enterprise Platinum pricing plan. If no value is specified, the current preferred version for IBM Cloud Databases is used."
17+
description = "The version of Databases for Elasticsearch to deploy. Possible values: `8.7`, `8.10`, `8.12`, `8.15`, `8.19`, `9.1` which requires an Enterprise Platinum pricing plan. If no value is specified, the current preferred version for IBM Cloud Databases is used."
1818
default = null
1919

2020
validation {
@@ -23,9 +23,11 @@ variable "elasticsearch_version" {
2323
var.elasticsearch_version == "8.7",
2424
var.elasticsearch_version == "8.10",
2525
var.elasticsearch_version == "8.12",
26-
var.elasticsearch_version == "8.15"
26+
var.elasticsearch_version == "8.15",
27+
var.elasticsearch_version == "8.19",
28+
var.elasticsearch_version == "9.1",
2729
])
28-
error_message = "Version must be 8.7, 8.10, 8.12 or 8.15 (Enterprise or Platinum plan if 8.10 or later)."
30+
error_message = "Version must be 8.7, 8.10, 8.12, 8.15, 8.19 or 9.1 (Enterprise or Platinum plan if 8.10 or later)."
2931
}
3032
}
3133

0 commit comments

Comments
 (0)