Browse Source

Adds Missing instance_types Variable to mdr_prod_c2

Also updates the splunk vpc module version to latest
Fred Damstra 4 năm trước cách đây
mục cha
commit
cec0b6291b

+ 1 - 1
prod/aws-us-gov/mdr-prod-c2/010-vpc-splunk/terragrunt.hcl

@@ -13,7 +13,7 @@ locals {
 # working directory, into a temporary folder, and execute your Terraform commands in that folder.
 terraform {
   # Double slash is intentional and required to show root of modules
-  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/standard_vpc?ref=v1.10.14"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/standard_vpc?ref=v1.10.17"
 }
 
 dependency "transit_gateway" {

+ 13 - 0
prod/aws-us-gov/mdr-prod-c2/account.hcl

@@ -137,6 +137,19 @@ locals {
     },
   }
 
+  instance_types = {
+    #"alsi-master"    = "t3a.small",
+    #"alsi-worker"    = "t3a.small",
+    #"splunk-cm"      = "t3a.small",  # legacy: t2.small
+    #"splunk-indexer" = "t3a.small", # legacy: t2.small, but whats the point if we don't have instance storage.
+    #"splunk-indexer" = "i3en.large", # legacy: t2.small, but whats the point if we don't have instance storage.
+    #"splunk-indexer" = "m5d.large", # these are 1/2 the price of i3en.larges. 8GB RAM, 75GB storage
+    "splunk-cm"      = "m5a.xlarge",
+    "splunk-indexer" = "i3en.3xlarge",
+    "splunk-hf"      = "m5a.xlarge",
+    "splunk-sh"      = "m5a.4xlarge",
+  }
+
   # Bastion
   bastion_instance_type = "t3a.micro"