Skip to content

Commit ef57b8c

Browse files
committed
update README.md
1 parent 0ed313d commit ef57b8c

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

README.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
5757

5858
This module has a few dependencies:
5959

60-
- [Terraform 1.x.x](https://learn.hashicorp.com/terraform/getting-started/install.html)
61-
- [Go](https://golang.org/doc/install)
62-
- [github.com/stretchr/testify/assert](https://github.com/stretchr/testify)
63-
- [github.com/gruntwork-io/terratest/modules/terraform](https://github.com/gruntwork-io/terratest)
64-
65-
6660

6761

6862

@@ -127,13 +121,14 @@ module "documentdb" {
127121

128122
| Name | Description | Type | Default | Required |
129123
|------|-------------|------|---------|:--------:|
130-
| 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 |
133127
| cluster\_size | Number of DB instances to create in the cluster | `string` | `"2"` | no |
134128
| database\_name | Name of the database. | `string` | n/a | yes |
135129
| 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 |
137132
| engine | The name of the database engine to be used for this DB cluster. Defaults to `docdb`. Valid values: `docdb`. | `string` | `"docdb"` | no |
138133
| engine\_version | The version number of the database engine to use. | `string` | `""` | no |
139134
| environment | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `""` | no |
@@ -144,16 +139,15 @@ module "documentdb" {
144139
| 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 |
145140
| master\_username | (Required unless a snapshot\_identifier is provided) Username for the master DB user. | `string` | `"root"` | no |
146141
| 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 |
148143
| preferred\_backup\_window | Daily time range during which the backups happen. | `string` | `"07:00-09:00"` | no |
149144
| repository | Terraform current module repo | `string` | `"https://github.com/clouddrove/terraform-aws-documentdb"` | no |
150145
| 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 |
152147
| 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 |
154149
| 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 |
157151

158152
## Outputs
159153

0 commit comments

Comments
 (0)