Browse Source

Merge branch 'master' of github.xdr.accenturefederalcyber.com:mdr-engineering/xdr-terraform-modules

Brad Poulton 4 years ago
parent
commit
2aa42dcf65
1 changed files with 3 additions and 0 deletions
  1. 3 0
      base/phantom/main.tf

+ 3 - 0
base/phantom/main.tf

@@ -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