Add disk_type variable for EBS volume type on AWS

* Change EBS volume type from `standard` ("prior generation)
 to `gp2`. Prometheus alerts are tuned for SSDs
* Other platforms have fast enough disks by default
This commit is contained in:
Dalton Hubble
2018-03-29 00:24:07 -07:00
parent b1e41dcb99
commit f8e9bfb1c0
6 changed files with 25 additions and 7 deletions

View File

@ -42,7 +42,7 @@ resource "aws_launch_configuration" "worker" {
# storage
root_block_device {
volume_type = "standard"
volume_type = "${var.disk_type}"
volume_size = "${var.disk_size}"
}