|
@@ -0,0 +1,22 @@
|
|
|
+locals {
|
|
|
+ environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))
|
|
|
+ partition_vars = read_terragrunt_config(find_in_parent_folders("partition.hcl"))
|
|
|
+ region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))
|
|
|
+ account_vars = read_terragrunt_config(find_in_parent_folders("account.hcl"))
|
|
|
+ global_vars = read_terragrunt_config(find_in_parent_folders("globals.hcl"))
|
|
|
+}
|
|
|
+
|
|
|
+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"
|
|
|
+}
|
|
|
+
|
|
|
+include {
|
|
|
+ path = find_in_parent_folders()
|
|
|
+}
|
|
|
+
|
|
|
+inputs = {
|
|
|
+ tags = {
|
|
|
+ Terraform = "aws/${basename(get_parent_terragrunt_dir())}/${path_relative_to_include()}/"
|
|
|
+ }
|
|
|
+}
|