|
@@ -68,6 +68,9 @@ resource "aws_instance" "phantom-server-instance" {
|
|
|
delete_on_termination = var.environment == "test" ? true : false # extra protection against deleting phantom drive
|
|
|
encrypted = true
|
|
|
kms_key_id = data.aws_kms_key.ebs-key.arn
|
|
|
+ # Phantom is io intensive, so provisionign extra iops and throughput. Cost is about $50/mo
|
|
|
+ iops = var.environment == "test" ? 3000 : 9000
|
|
|
+ throughput = var.environment == "test" ? 125 : 375
|
|
|
}
|
|
|
ebs_block_device {
|
|
|
# swap
|