Quellcode durchsuchen

updates legacy-hec for moose to v1.10.18

* Private DNS Zone made available for legacy entries
* Prod module updated to 1.10.18
* Fixed typo in 011-defpoint_com-legacy-dns module
Fred Damstra vor 4 Jahren
Ursprung
Commit
a0a42eccdc

+ 1 - 1
common/aws/mdr-common-services/011-defpoint_com-legacy-dns/terragrunt.hcl

@@ -8,7 +8,7 @@ locals {
 
 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/dns/legacy_defpoint_com?ref=v0.10.17"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/dns/legacy_defpoint_com?ref=v1.10.17"
 }
 
 include {

+ 4 - 5
common/env.hcl

@@ -52,11 +52,10 @@ locals {
       zone = "xdr.accenturefederalcyber.com"
       zone_id = "Z0083657A94URZM2TM87"
     },
-    # unused, but may need it in the future
-    #"legacy_private" = {
-    #  zone = "msoc.defpoint.local"
-    #  zone_id = "Z2JVOIKXZP64QP""
-    #},
+    "legacy_private" = {
+      zone = "msoc.defpoint.local"
+      zone_id = "Z2JVOIKXZP64QP"
+    },
     "legacy_public" = {
       zone = "mdr.defpoint.com"
       zone_id = "Z2HYR9YEZ4KLDE"

+ 2 - 1
prod/aws-us-gov/mdr-prod-c2/165-splunk-legacy-hec/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/splunk_servers/legacy_hec?ref=v1.10.17"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/splunk_servers/legacy_hec?ref=v1.10.18"
 }
 
 generate "provider-legacy" {
@@ -66,5 +66,6 @@ inputs = {
   vpc_cidr = local.account_vars.locals.vpc_info["vpc-splunk"]["cidr"]
   azs = dependency.vpc.outputs.azs
   public_subnets  = dependency.vpc.outputs.public_subnets
+  private_subnets  = dependency.vpc.outputs.private_subnets
   elb_attachments = dependency.indexers.outputs.elb_attachments
 }

+ 4 - 5
prod/env.hcl

@@ -89,11 +89,10 @@ locals {
       zone = "xdr.accenturefederalcyber.com"
       zone_id = "Z0083657A94URZM2TM87"
     },
-    # unused, but may need it in the future
-    #"legacy_private" = {
-    #  zone = "msoc.defpoint.local"
-    #  zone_id = "Z2JVOIKXZP64QP""
-    #},
+    "legacy_private" = {
+      zone = "msoc.defpoint.local"
+      zone_id = "Z2JVOIKXZP64QP"
+    },
     "legacy_public" = {
       zone = "mdr.defpoint.com"
       zone_id = "Z2HYR9YEZ4KLDE"

+ 4 - 5
test/env.hcl

@@ -82,11 +82,10 @@ locals {
       zone = "xdrtest.accenturefederalcyber.com"
       zone_id = "Z01677392W0QM639KU2KC"
     },
-    # unused, but may need it in the future
-    #"legacy_private" = {
-    #  zone = "msoc.defpoint.local"
-    #  zone_id = "Z39OIGEKXXGJZ2"
-    #},
+    "legacy_private" = {
+      zone = "msoc.defpoint.local"
+      zone_id = "Z39OIGEKXXGJZ2"
+    },
     "legacy_public" = {
       zone = "mdr-test.defpoint.com"
       zone_id = "Z3E22S3CIP0UCO"