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
| apply\_immediately | Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. |`string`|`"true"`| no |
131
-
|attributes|Additional attributes (e.g. `1`). |`list(any)`|`[]`| no |
132
-
| cluster\_family | The family of the DocumentDB cluster parameter group. For more details, see https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-parameter-group-create.html . |`string`|`"docdb4.0"`| no |
124
+
| apply\_immediately | Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. |`bool`|`true`| no |
125
+
|ca\_cert\_identifier|The identifier of the certificate authority (CA) certificate for the DB instance. |`string`|`null`| no |
126
+
| cluster\_family | The family of the DocumentDB cluster parameter group. For more details, see https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-parameter-group-create.html . |`string`|`"docdb5.0"`| no |
133
127
| cluster\_size | Number of DB instances to create in the cluster |`string`|`"2"`| no |
134
128
| database\_name | Name of the database. |`string`| n/a | yes |
135
129
| deletion\_protection | (optional) describe your variable |`bool`|`null`| no |
136
-
| enabled\_cloudwatch\_logs\_exports | List of log types to export to cloudwatch. The following log types are supported: audit, error, general, slowquery. |`list(string)`|`[]`| no |
130
+
| enable | Flag to control the documentDB creation. |`bool`|`true`| no |
131
+
| enabled\_cloudwatch\_logs\_exports | List of log types to export to cloudwatch. The following log types are supported: audit, error, general, slowquery. |`list(string)`| <pre>[<br> "audit",<br> "profiler"<br>]</pre> | no |
137
132
| engine | The name of the database engine to be used for this DB cluster. Defaults to `docdb`. Valid values: `docdb`. |`string`|`"docdb"`| no |
138
133
| engine\_version | The version number of the database engine to use. |`string`|`""`| no |
| master\_password | (Required unless a snapshot\_identifier is provided) Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. |`string`|`""`| no |
145
140
| master\_username | (Required unless a snapshot\_identifier is provided) Username for the master DB user. |`string`|`"root"`| no |
146
141
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
147
-
|port|Open port in sg for db communication. |`number`|`27017`| no |
142
+
|parameters|A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources. | <pre>list(object({<br> apply_method = optional(string)<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
148
143
| preferred\_backup\_window | Daily time range during which the backups happen. |`string`|`"07:00-09:00"`| no |
149
144
| repository | Terraform current module repo |`string`|`"https://github.com/clouddrove/terraform-aws-documentdb"`| no |
150
145
| retention\_period | Number of days to retain backups for. |`string`|`"7"`| no |
151
-
| skip\_final\_snapshot | Determines whether a final DB snapshot is created before the DB cluster is deleted. |`string`|`"false"`| no |
146
+
| skip\_final\_snapshot | Determines whether a final DB snapshot is created before the DB cluster is deleted. |`bool`|`false`| no |
152
147
| snapshot\_identifier | Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. |`string`|`""`| no |
153
-
| storage\_encrypted | Specifies whether the DB cluster is encrypted. |`string`|`"false"`| no |
148
+
| storage\_encrypted | Specifies whether the DB cluster is encrypted. |`bool`|`true`| no |
154
149
| subnet\_list | List of subnet IDs database instances should deploy into. |`list(string)`| <pre>[<br> ""<br>]</pre> | no |
155
-
| tls\_enabled | When true than cluster using TLS for communication. |`bool`|`false`| no |
156
-
| vpc\_id | ID of the VPC to deploy database into. |`string`| n/a | yes |
150
+
| vpc\_security\_group\_ids | n/a |`set(string)`|`null`| no |
0 commit comments