File tree Expand file tree Collapse file tree 6 files changed +19
-5
lines changed
Expand file tree Collapse file tree 6 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ Available targets:
102102| Name | Version |
103103| ------| ---------|
104104| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3 |
105- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.21 .0 |
105+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.29 .0 |
106106| <a name =" requirement_local " ></a > [ local] ( #requirement\_ local ) | >= 1.3 |
107107| <a name =" requirement_random " ></a > [ random] ( #requirement\_ random ) | >= 1.0 |
108108
109109## Providers
110110
111111| Name | Version |
112112| ------| ---------|
113- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.21 .0 |
113+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.29 .0 |
114114| <a name =" provider_random " ></a > [ random] ( #provider\_ random ) | >= 1.0 |
115115
116116## Modules
Original file line number Diff line number Diff line change 44| Name | Version |
55| ------| ---------|
66| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3 |
7- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.21 .0 |
7+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.29 .0 |
88| <a name =" requirement_local " ></a > [ local] ( #requirement\_ local ) | >= 1.3 |
99| <a name =" requirement_random " ></a > [ random] ( #requirement\_ random ) | >= 1.0 |
1010
1111## Providers
1212
1313| Name | Version |
1414| ------| ---------|
15- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.21 .0 |
15+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.29 .0 |
1616| <a name =" provider_random " ></a > [ random] ( #provider\_ random ) | >= 1.0 |
1717
1818## Modules
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ engine = "docdb"
3131
3232storage_encrypted = true
3333
34+ storage_type = " standard"
35+
3436skip_final_snapshot = true
3537
3638apply_immediately = true
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ module "documentdb_cluster" {
6060 engine = var. engine
6161 engine_version = var. engine_version
6262 storage_encrypted = var. storage_encrypted
63+ storage_type = var. storage_type
6364 kms_key_id = var. kms_key_id
6465 skip_final_snapshot = var. skip_final_snapshot
6566 enabled_cloudwatch_logs_exports = var. enabled_cloudwatch_logs_exports
Original file line number Diff line number Diff line change @@ -119,6 +119,17 @@ variable "storage_encrypted" {
119119 default = true
120120}
121121
122+ variable "storage_type" {
123+ type = string
124+ description = " The storage type to associate with the DB cluster. Valid values: standard, iopt1"
125+ default = " standard"
126+
127+ validation {
128+ condition = contains ([" standard" , " iopt1" ], var. storage_type )
129+ error_message = " Error: storage_type value must be one of two options - 'standard' or 'iopt1'."
130+ }
131+ }
132+
122133variable "kms_key_id" {
123134 type = string
124135 description = " The ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to `true`"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 aws = {
66 source = " hashicorp/aws"
7- version = " >= 5.21 .0"
7+ version = " >= 5.29 .0"
88 }
99 local = {
1010 source = " hashicorp/local"
You can’t perform that action at this time.
0 commit comments