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,7 @@ resource "aws_launch_configuration" "worker" {
root_block_device {
volume_type = "${var.disk_type}"
volume_size = "${var.disk_size}"
iops = "${var.disk_iops}"
}
# network