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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,14 +74,14 @@ You need the following permissions to run this module.
74
74
| <aname="input_backup_encryption_key_crn"></a> [backup\_encryption\_key\_crn](#input\_backup\_encryption\_key\_crn)| (Optional) The CRN of a Key Protect Key to use for encrypting backups. If left null, the value passed for the 'kms\_key\_crn' variable will be used. Take note that Hyper Protect Crypto Services for IBM Cloud® Databases backups is not currently supported. |`string`|`null`| no |
75
75
| <aname="input_cbr_rules"></a> [cbr\_rules](#input\_cbr\_rules)| (Optional, list) List of CBR rules to create | <pre>list(object({<br> description = string<br> account_id = string<br> rule_contexts = list(object({<br> attributes = optional(list(object({<br> name = string<br> value = string<br> }))) }))<br> enforcement_mode = string<br> }))</pre> |`[]`| no |
| <aname="input_cpu_count"></a> [cpu\_count](#input\_cpu\_count)|Number of CPU cores available to the mongodb instance |`number`|`7`| no |
78
-
| <aname="input_disk_mb"></a> [disk\_mb](#input\_disk\_mb)| Disk available to the mongodb instance |`number`|`20480`| no |
77
+
| <aname="input_cpu_count"></a> [cpu\_count](#input\_cpu\_count)|The number of CPU cores available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member|`number`|`7`| no |
78
+
| <aname="input_disk_mb"></a> [disk\_mb](#input\_disk\_mb)| Disk space available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member|`number`|`20480`| no |
79
79
| <aname="input_endpoints"></a> [endpoints](#input\_endpoints)| Endpoints available to the mongodb instance (public, private, public-and-private) |`string`|`"private"`| no |
80
80
| <aname="input_existing_kms_instance_guid"></a> [existing\_kms\_instance\_guid](#input\_existing\_kms\_instance\_guid)| The GUID of the Hyper Protect or Key Protect instance in which the key specified in var.kms\_key\_crn is coming from. Only required if skip\_iam\_authorization\_policy is false |`string`|`null`| no |
81
81
| <aname="input_instance_name"></a> [instance\_name](#input\_instance\_name)| Name of the MongoDB instance |`string`| n/a | yes |
82
82
| <aname="input_kms_key_crn"></a> [kms\_key\_crn](#input\_kms\_key\_crn)| (Optional) The root key CRN of a Key Management Service like Key Protect or Hyper Protect Crypto Service (HPCS) that you want to use for disk encryption. If `null`, database is encrypted by using randomly generated keys. See https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-key-protect&interface=ui#key-byok for current list of supported regions for BYOK |`string`|`null`| no |
83
83
| <aname="input_members"></a> [members](#input\_members)| Allocated number of members |`number`|`3`| no |
84
-
| <aname="input_memory_mb"></a> [memory\_mb](#input\_memory\_mb)| Memory available to the mongodb instance |`number`|`1024`| no |
84
+
| <aname="input_memory_mb"></a> [memory\_mb](#input\_memory\_mb)| Memory available to the database instance in MB. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member|`number`|`1024`| no |
85
85
| <aname="input_mongodb_version"></a> [mongodb\_version](#input\_mongodb\_version)| The version of the mongodb to be provisioned |`string`|`null`| no |
86
86
| <aname="input_plan"></a> [plan](#input\_plan)| The name of the service plan that you choose for your mongodb instance |`string`|`"standard"`| no |
87
87
| <aname="input_region"></a> [region](#input\_region)| The region MongoDB is to be created on. The region must support BYOK region if Key Protect Key is used or KYOK region if Hyper Protect Crypto Service (HPCS) is used. |`string`|`"us-south"`| no |
Copy file name to clipboardExpand all lines: module-metadata.json
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@
17
17
"description": "Configure rules to allow your database to automatically increase its resources. Single block of autoscaling is allowed at once.",
18
18
"pos": {
19
19
"filename": "variables.tf",
20
-
"line": 166
20
+
"line": 142
21
21
}
22
22
},
23
23
"backup_encryption_key_crn": {
@@ -43,7 +43,7 @@
43
43
],
44
44
"pos": {
45
45
"filename": "variables.tf",
46
-
"line": 201
46
+
"line": 177
47
47
}
48
48
},
49
49
"configuration": {
@@ -61,21 +61,21 @@
61
61
"cpu_count": {
62
62
"name": "cpu_count",
63
63
"type": "number",
64
-
"description": "Number of CPU cores available to the mongodb instance",
64
+
"description": "The number of CPU cores available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member",
65
65
"default": 7,
66
66
"pos": {
67
67
"filename": "variables.tf",
68
-
"line": 138
68
+
"line": 122
69
69
}
70
70
},
71
71
"disk_mb": {
72
72
"name": "disk_mb",
73
73
"type": "number",
74
-
"description": "Disk available to the mongodb instance",
74
+
"description": "Disk space available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member",
75
75
"default": 20480,
76
76
"pos": {
77
77
"filename": "variables.tf",
78
-
"line": 124
78
+
"line": 116
79
79
}
80
80
},
81
81
"endpoints": {
@@ -139,13 +139,13 @@
139
139
"default": 3,
140
140
"pos": {
141
141
"filename": "variables.tf",
142
-
"line": 153
142
+
"line": 129
143
143
}
144
144
},
145
145
"memory_mb": {
146
146
"name": "memory_mb",
147
147
"type": "number",
148
-
"description": "Memory available to the mongodb instance",
148
+
"description": "Memory available to the database instance in MB. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member",
description="Memory available to the mongodb instance"
112
+
description="Memory available to the database instance in MB. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member"
113
113
default=1024
114
-
115
-
validation {
116
-
condition=alltrue([
117
-
var.memory_mb>=1024,
118
-
var.memory_mb<=114688
119
-
])
120
-
error_message="Member group memory must be >= 1024 and <= 114688 in increments of 128."
121
-
}
122
114
}
123
115
124
116
variable"disk_mb" {
125
117
type=number
126
-
description="Disk available to the mongodb instance"
118
+
description="Disk space available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member"
127
119
default=20480
128
-
129
-
validation {
130
-
condition=alltrue([
131
-
var.disk_mb>=5120,
132
-
var.disk_mb<=4194304
133
-
])
134
-
error_message="Member group disk must be >= 5120 and <= 4194304 in increments of 1024."
135
-
}
136
120
}
137
121
138
122
variable"cpu_count" {
139
123
type=number
140
-
description="Number of CPU cores available to the mongodb instance"
124
+
description="The number of CPU cores available to the database instance. For more information refer to the docs https://cloud.ibm.com/docs/databases-for-mongodb?topic=databases-for-mongodb-pricing#mongodb-scale-member"
141
125
default=7
142
-
143
-
validation {
144
-
condition=alltrue([
145
-
var.cpu_count>=6,
146
-
var.cpu_count<=28
147
-
])
148
-
error_message="Number of cpus must be >= 6 and <= 28 in increments of 1."
0 commit comments