packet RAID setup: Add new vars for disk type
Add variables following variables:
* `setup_raid_hdd` - If true, create RAID of HDDs only.
* `setup_raid_ssd` - If true, create RAID of SSDs only.
@@ -99,7 +99,19 @@ EOD
}
variable "setup_raid" {
- description = "Attempt to create a RAID 0 from extra disks to be used for persistent container storage. Valid values: 'true', 'false'"
+ description = "Attempt to create a RAID 0 from extra disks to be used for persistent container storage. Valid values: \"true\", \"false\""
+ type = "string"
+ default = "false"
+}
+
+variable "setup_raid_hdd" {
+ description = "Attempt to create a RAID 0 from extra Hard Disk drives only, to be used for persistent container storage. Valid values: \"true\", \"false\""
+ type = "string"
+ default = "false"
+}
+
+variable "setup_raid_ssd" {
+ description = "Attempt to create a RAID 0 from extra Solid State Drives only, to be used for persistent container storage. Valid values: \"true\", \"false\""
type = "string"
default = "false"
}
