Add disk_iops variable for AWS

* Setting disk_iops is required for disk_type io1
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes
This commit is contained in:
Robert Fairburn
2018-10-15 09:59:35 -05:00
committed by Dalton Hubble
parent 3b44972d78
commit 0be4673e44
11 changed files with 34 additions and 0 deletions

View File

@ -52,6 +52,12 @@ variable "disk_type" {
description = "Type of the EBS volume (e.g. standard, gp2, io1)"
}
variable "disk_iops" {
type = "string"
default = "0"
description = "IOPS of the EBS volume (required for io1)"
}
variable "spot_price" {
type = "string"
default = ""