|
@@ -11,8 +11,8 @@ locals {
|
|
global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl"))
|
|
global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl"))
|
|
}
|
|
}
|
|
|
|
|
|
-dependency "vpc_malware" {
|
|
|
|
- config_path = "../010-vpc-malware"
|
|
|
|
|
|
+dependency "vpc_system_services" {
|
|
|
|
+ config_path = "../010-vpc-system-services"
|
|
}
|
|
}
|
|
|
|
|
|
# Terragrunt will copy the Terraform configurations specified by the source parameter, along with any files in the
|
|
# Terragrunt will copy the Terraform configurations specified by the source parameter, along with any files in the
|
|
@@ -36,6 +36,6 @@ inputs = {
|
|
Purpose = "Testing Instance"
|
|
Purpose = "Testing Instance"
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
}
|
|
}
|
|
- subnet_id = dependency.vpc_malware.outputs.public_subnets[0]
|
|
|
|
- security_group_ids = [ dependency.vpc_malware.outputs.allow_all_from_trusted_sg_id ]
|
|
|
|
|
|
+ subnet_id = dependency.vpc_system_services.outputs.public_subnets[0]
|
|
|
|
+ security_group_ids = [ dependency.vpc_system_services.outputs.allow_all_from_trusted_sg_id ]
|
|
}
|
|
}
|