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
| cluster\_identifier | The RDS Cluster Identifier. Will use generated label ID if not supplied |`string`|`""`| no |
413
413
| cluster\_parameters | List of DB cluster parameters to apply | <pre>list(object({<br> apply_method = string<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
414
414
| cluster\_size | Number of DB instances to create in the cluster |`number`|`2`| no |
415
+
| cluster\_type | Either `regional` or `global`.<br>If `regional` will be created as a normal, standalone DB.<br>If `global`, will be made part of a Global cluster (requires `global_cluster_identifier`). |`string`|`"regional"`| no |
415
416
| context | Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
416
417
| copy\_tags\_to\_snapshot | Copy tags to backup snapshots |`bool`|`false`| no |
417
418
| db\_name | Database name (default is not to create a database) |`string`|`""`| no |
@@ -438,7 +439,6 @@ Available targets:
438
439
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
439
440
| label\_value\_case | The letter case of output label values (also used in `tags` and `id`).<br>Possible values: `lower`, `title`, `upper` and `none` (no transformation).<br>Default value: `lower`. |`string`|`null`| no |
440
441
| maintenance\_window | Weekly time range during which system maintenance can occur, in UTC |`string`|`"wed:03:00-wed:04:00"`| no |
441
-
| make\_primary\_cluster | Set true or false to force the cluster to be created as primary or secondary. Leave null to set automatically based on global\_cluster\_identifier. |`bool`|`null`| no |
442
442
| name | Solution name, e.g. 'app' or 'jenkins' |`string`|`null`| no |
443
443
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' |`string`|`null`| no |
444
444
| performance\_insights\_enabled | Whether to enable Performance Insights |`bool`|`false`| no |
| cluster\_identifier | The RDS Cluster Identifier. Will use generated label ID if not supplied |`string`|`""`| no |
66
66
| cluster\_parameters | List of DB cluster parameters to apply | <pre>list(object({<br> apply_method = string<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
67
67
| cluster\_size | Number of DB instances to create in the cluster |`number`|`2`| no |
68
+
| cluster\_type | Either `regional` or `global`.<br>If `regional` will be created as a normal, standalone DB.<br>If `global`, will be made part of a Global cluster (requires `global_cluster_identifier`). |`string`|`"regional"`| no |
68
69
| context | Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {}<br>}</pre> | no |
69
70
| copy\_tags\_to\_snapshot | Copy tags to backup snapshots |`bool`|`false`| no |
70
71
| db\_name | Database name (default is not to create a database) |`string`|`""`| no |
@@ -91,7 +92,6 @@
91
92
| label\_order | The naming order of the id output and Name tag.<br>Defaults to ["namespace", "environment", "stage", "name", "attributes"].<br>You can omit any of the 5 elements, but at least one must be present. |`list(string)`|`null`| no |
92
93
| label\_value\_case | The letter case of output label values (also used in `tags` and `id`).<br>Possible values: `lower`, `title`, `upper` and `none` (no transformation).<br>Default value: `lower`. |`string`|`null`| no |
93
94
| maintenance\_window | Weekly time range during which system maintenance can occur, in UTC |`string`|`"wed:03:00-wed:04:00"`| no |
94
-
| make\_primary\_cluster | Set true or false to force the cluster to be created as primary or secondary. Leave null to set automatically based on global\_cluster\_identifier. |`bool`|`null`| no |
95
95
| name | Solution name, e.g. 'app' or 'jenkins' |`string`|`null`| no |
96
96
| namespace | Namespace, which could be your organization name or abbreviation, e.g. 'eg' or 'cp' |`string`|`null`| no |
97
97
| performance\_insights\_enabled | Whether to enable Performance Insights |`bool`|`false`| no |
description="Set true or false to force the cluster to be created as primary or secondary. Leave null to set automatically based on global_cluster_identifier."
348
-
default=null
345
+
variable"cluster_type" {
346
+
type=string
347
+
description=<<-EOT
348
+
Either `regional` or `global`.
349
+
If `regional` will be created as a normal, standalone DB.
350
+
If `global`, will be made part of a Global cluster (requires `global_cluster_identifier`).
0 commit comments