From 7264db7cbc9a775a18c3c51466ef5a0e676fe6e5 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 19 Sep 2024 19:17:23 -0400 Subject: [PATCH] eks-dns v1 --- .../vpc/_mcmCluster/eks-dns/terragrunt.hcl | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lab/us-gov-east-1/vpc/_mcmCluster/eks-dns/terragrunt.hcl diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/eks-dns/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/eks-dns/terragrunt.hcl new file mode 100644 index 0000000..c7ada57 --- /dev/null +++ b/lab/us-gov-east-1/vpc/_mcmCluster/eks-dns/terragrunt.hcl @@ -0,0 +1,29 @@ +include "root" { + path = find_in_parent_folders() +} + +terraform { + source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks-dns.git" + extra_arguments "retry_lock" { + commands = get_terraform_commands_that_need_locking() + arguments = ["-lock-timeout=20m"] + } +} + +dependency "eks" { + config_path = "../eks" + mock_outputs = { + zone_ids = ["Z12345678CA5FV1LIFBC5"] + } +} + +inputs = { + cluster_name = dependency.eks.inputs.cluster_name + profile = dependency.eks.inputs.profile + region = dependency.eks.inputs.region + subnets = dependency.eks.outputs.subnets + tags = dependency.eks.inputs.tags + vpc_domain_name = dependency.eks.inputs.vpc_domain_name + vpc_id = dependency.eks.outputs.vpc_id + vpc_name = dependency.eks.inputs.vpc_name +}