Эх сурвалжийг харах

Enables the external resolver rules in the other prod VPCs

Fred Damstra 5 жил өмнө
parent
commit
487769af77

+ 7 - 6
prod/aws/legacy-mdr-prod/025-outbound_dns_resolver/terragrunt.hcl

@@ -15,7 +15,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/dns/outbound_dns_resolver?ref=v0.6.2"
+  source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/dns/outbound_dns_resolver?ref=v0.6.7"
 }
 
 # Include all settings from the root terragrunt.hcl file
@@ -34,11 +34,12 @@ inputs = {
   primary_vpc = local.account_vars.locals.legacy_vpcs["main_infrastructure"]["id"]
   subnets = slice(local.account_vars.locals.legacy_vpcs["main_infrastructure"]["private_subnets"], 0, 2)
   additional_vpcs = [ 
-    local.account_vars.locals.legacy_vpcs["main_infrastructure"]["id"],
-#    local.account_vars.locals.legacy_vpcs["ma-c19"]["id"],
+    local.account_vars.locals.legacy_vpcs["afs"]["id"],
     local.account_vars.locals.legacy_vpcs["customer-portal"]["id"],
-#    local.account_vars.locals.legacy_vpcs["afs"]["id"],
-#    local.account_vars.locals.legacy_vpcs["la-c19"]["id"],
-#    local.account_vars.locals.legacy_vpcs["dc-c19"]["id"],
+    local.account_vars.locals.legacy_vpcs["dc-c19"]["id"],
+    local.account_vars.locals.legacy_vpcs["la-c19"]["id"],
+    local.account_vars.locals.legacy_vpcs["ma-c19"]["id"],
+    local.account_vars.locals.legacy_vpcs["main_infrastructure"]["id"],
+    local.account_vars.locals.legacy_vpcs["nga"]["id"],
   ]
 }