From 54a01b2b8a2ea6f4ce1e71985f1f1e65534940b4 Mon Sep 17 00:00:00 2001 From: florianow <64468897+florianow@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:49:26 +0200 Subject: [PATCH] chore: move docs templates to platform module --- kit/foundation/docs/template/terragrunt.hcl | 28 --------------------- 1 file changed, 28 deletions(-) delete mode 100644 kit/foundation/docs/template/terragrunt.hcl diff --git a/kit/foundation/docs/template/terragrunt.hcl b/kit/foundation/docs/template/terragrunt.hcl deleted file mode 100644 index 69df1b3c..00000000 --- a/kit/foundation/docs/template/terragrunt.hcl +++ /dev/null @@ -1,28 +0,0 @@ -terraform { - source = "${get_repo_root()}//kit/foundation/docs" -} - -# note: we don't track any state for this module itself - -locals { - foundation_path = "${get_repo_root()}/foundations/name-of-foundation" #TODO: replace with the name of the foundation - azure_platform = read_terragrunt_config("${local.foundation_path}/platforms/azure/platform.hcl") -} - -inputs = { - # todo: refactor to eliminate duplication of this value - # azure_tfstate_config_path = "${local.foundation_path}/platforms/azure/tfstates-config.yaml" - - platforms = { - azure = { - aad_tenant_id = local.azure_platform.locals.platform.azure.aadTenantId, - subscription_id = local.azure_platform.locals.platform.azure.subscriptionId, - tfstateconfig = local.azure_platform.locals.tfstateconfig - } - } - - foundation_dir = "${local.foundation_path}" - template_dir = "${local.foundation_path}/docs/vuepress" - output_dir = "${local.foundation_path}/.docs-v2" - repo_dir = "${get_repo_root()}" -}