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: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,8 @@ You need the following permissions to run this module.
96
96
| <aname="input_kms_key_crn"></a> [kms\_key\_crn](#input\_kms\_key\_crn)| The root key CRN of a Key Management Services like Key Protect or Hyper Protect Crypto Service (HPCS) that you want to use for disk encryption. Only used if var.kms\_encryption\_enabled is set to true. |`string`|`null`| no |
97
97
| <aname="input_member_cpu_count"></a> [member\_cpu\_count](#input\_member\_cpu\_count)| Allocated dedicated CPU per member. For shared CPU, set to 0. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`0`| no |
98
98
| <aname="input_member_disk_mb"></a> [member\_disk\_mb](#input\_member\_disk\_mb)| Allocated disk per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`5120`| no |
99
-
| <aname="input_member_memory_mb"></a> [member\_memory\_mb](#input\_member\_memory\_mb)| Allocated memory per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`1024`| no |
99
+
| <aname="input_member_host_flavor"></a> [member\_host\_flavor](#input\_member\_host\_flavor)| Allocated host flavor per member. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#host_flavor). |`string`|`null`| no |
100
+
| <aname="input_member_memory_mb"></a> [member\_memory\_mb](#input\_member\_memory\_mb)| Allocated memory per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`4096`| no |
100
101
| <aname="input_members"></a> [members](#input\_members)| Allocated number of members. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`3`| no |
101
102
| <aname="input_name"></a> [name](#input\_name)| The name to give the Elasticsearch instance. |`string`| n/a | yes |
102
103
| <aname="input_plan"></a> [plan](#input\_plan)| The name of the service plan that you choose for your Elasticsearch instance |`string`|`"enterprise"`| no |
Copy file name to clipboardExpand all lines: modules/fscloud/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,8 @@ No resources.
40
40
| <aname="input_kms_key_crn"></a> [kms\_key\_crn](#input\_kms\_key\_crn)| The root key CRN of the Hyper Protect Crypto Service (HPCS) to use for disk encryption. |`string`| n/a | yes |
41
41
| <aname="input_member_cpu_count"></a> [member\_cpu\_count](#input\_member\_cpu\_count)| Allocated dedicated CPU per member. For shared CPU, set to 0. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`0`| no |
42
42
| <aname="input_member_disk_mb"></a> [member\_disk\_mb](#input\_member\_disk\_mb)| Allocated disk per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`5120`| no |
43
-
| <aname="input_member_memory_mb"></a> [member\_memory\_mb](#input\_member\_memory\_mb)| Allocated memory per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`1024`| no |
43
+
| <aname="input_member_host_flavor"></a> [member\_host\_flavor](#input\_member\_host\_flavor)| Allocated host flavor per member. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#host_flavor). |`string`|`null`| no |
44
+
| <aname="input_member_memory_mb"></a> [member\_memory\_mb](#input\_member\_memory\_mb)| Allocated memory per member. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling). |`number`|`4096`| no |
44
45
| <aname="input_members"></a> [members](#input\_members)| Allocated number of members. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling|`number`|`3`| no |
45
46
| <aname="input_name"></a> [name](#input\_name)| Name of the Elasticsearch instance |`string`| n/a | yes |
46
47
| <aname="input_plan"></a> [plan](#input\_plan)| The name of the service plan that you choose for your Elasticsearch instance |`string`|`"enterprise"`| no |
Copy file name to clipboardExpand all lines: modules/fscloud/variables.tf
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ variable "members" {
52
52
53
53
variable"member_memory_mb" {
54
54
type=number
55
-
description="Allocated memory per-member. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling"
Copy file name to clipboardExpand all lines: solutions/secure/variables.tf
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,8 @@ variable "members" {
58
58
59
59
variable"member_memory_mb" {
60
60
type=number
61
-
description="The memory per member that is allocated. For more information, see https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling"
62
-
default=1024
61
+
description="Allocated memory per member. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-resources-scaling)"
62
+
default=4096
63
63
}
64
64
65
65
variable"member_cpu_count" {
@@ -74,6 +74,18 @@ variable "member_disk_mb" {
74
74
default=5120
75
75
}
76
76
77
+
# Use new hosting model for all DA
78
+
variable"member_host_flavor" {
79
+
type=string
80
+
description="The host flavor per member. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#host_flavor)."
81
+
default="multitenant"
82
+
# Prevent null or "", require multitenant or a machine type
83
+
validation {
84
+
condition=(length(var.member_host_flavor) >0)
85
+
error_message="Member host flavor must be specified. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/database#host_flavor)."
86
+
}
87
+
}
88
+
77
89
variable"service_credential_names" {
78
90
description="The map of name, role for service credentials that you want to create for the database"
0 commit comments