Explorar el Código

Merge pull request #99 from mdr-engineering/feature/bp_MSOCI-1455_migrate_salt_master_2

Fixes Salt Master VPC
Brad Poulton hace 5 años
padre
commit
75029596c3

+ 5 - 5
prod/aws-us-gov/mdr-prod-c2/071-instance-salt-master/terragrunt.hcl

@@ -16,8 +16,8 @@ terraform {
   source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/salt_master?ref=v0.9.2"
 }
 
-dependency "vpc-access" {
-  config_path = "../010-vpc-access"
+dependency "vpc-system-services" {
+  config_path = "../010-vpc-system-services"
 }
 
 # Include all settings from the root terragrunt.hcl file
@@ -36,7 +36,7 @@ inputs = {
   }
   instance_name = "salt-master"
   instance_type = local.account_vars.locals.salt_master_instance_type
-  vpc_id = dependency.vpc-access.outputs.vpc_id
-  azs = dependency.vpc-access.outputs.azs
-  subnets = dependency.vpc-access.outputs.public_subnets
+  vpc_id = dependency.vpc-system-services.outputs.vpc_id
+  azs = dependency.vpc-system-services.outputs.azs
+  subnets = dependency.vpc-system-services.outputs.public_subnets
 }

+ 5 - 5
test/aws-us-gov/mdr-test-c2/071-instance-salt-master/terragrunt.hcl

@@ -16,8 +16,8 @@ terraform {
   source = "git@github.mdr.defpoint.com:mdr-engineering/xdr-terraform-modules.git//base/salt_master?ref=v0.9.2"
 }
 
-dependency "vpc-access" {
-  config_path = "../010-vpc-access"
+dependency "vpc-system-services" {
+  config_path = "../010-vpc-system-services"
 }
 
 # Include all settings from the root terragrunt.hcl file
@@ -36,7 +36,7 @@ inputs = {
   }
   instance_name = "salt-master"
   instance_type = local.account_vars.locals.salt_master_instance_type
-  vpc_id = dependency.vpc-access.outputs.vpc_id
-  azs = dependency.vpc-access.outputs.azs
-  subnets = dependency.vpc-access.outputs.public_subnets
+  vpc_id = dependency.vpc-system-services.outputs.vpc_id
+  azs = dependency.vpc-system-services.outputs.azs
+  subnets = dependency.vpc-system-services.outputs.public_subnets
 }