diff --git a/README.md b/README.md index d1bb09b..208c57a 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ module "my_cluster" { | [tags](#input_tags) | Tags associated with the server and dedicated ip address. | `list(string)` | `[]` | no | | [user_password](#input_user_password) | Password for the first user of the database instance. A random password will be generated if null. | `string` | `null` | no | | [volume_size_in_gb](#input_volume_size_in_gb) | Volume size (in GB) when volume_type is set to bssd. Must be a multiple of 5000000000. | `number` | `null` | no | -| [volume_type](#input_volume_type) | Type of volume where data are stored (bssd or lssd). | `string` | `"lssd"` | no | +| [volume_type](#input_volume_type) | Type of volume where data are stored (bssd, lssd, sbs_5k or sbs_15k). | `string` | `"lssd"` | no | ## Outputs diff --git a/variables.tf b/variables.tf index 4b424db..51eae15 100644 --- a/variables.tf +++ b/variables.tf @@ -45,13 +45,13 @@ variable "enable_encryption" { } variable "volume_type" { - description = "Type of volume where data are stored (bssd or lssd)." + description = "Type of volume where data are stored (bssd, lssd, sbs_5k or sbs_15k)." type = string default = "lssd" validation { - condition = contains(["bssd", "lssd"], var.volume_type) - error_message = "Volumes can only be one of 'bssd' or 'lssd'." + condition = contains(["bssd", "lssd", "sbs_5k", "sbs_15k"], var.volume_type) + error_message = "Volumes can only be one of 'bssd', 'lssd', 'sbs_5k' or 'sbs_15k'." } }