File tree Expand file tree Collapse file tree 5 files changed +28
-0
lines changed
kit/foundation/docs/template/platform-module Expand file tree Collapse file tree 5 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ terraform {
2+ source = " ${ get_repo_root ()} //kit/foundation/docs"
3+ }
4+
5+ # note: we don't track any state for this module itself
6+
7+ locals {
8+ foundation_path = " ${ get_repo_root ()} /foundations/name-of-foundation" # TODO: replace with the name of the foundation
9+ azure_platform = read_terragrunt_config (" ${ local . foundation_path } /platforms/azure/platform.hcl" )
10+ }
11+
12+ inputs = {
13+ # todo: refactor to eliminate duplication of this value
14+ # azure_tfstate_config_path = "${local.foundation_path}/platforms/azure/tfstates-config.yaml"
15+
16+ platforms = {
17+ azure = {
18+ aad_tenant_id = local.azure_platform.locals.platform.azure.aadTenantId,
19+ subscription_id = local.azure_platform.locals.platform.azure.subscriptionId,
20+ tfstateconfig = local.azure_platform.locals.tfstateconfig
21+ }
22+ }
23+
24+ foundation_dir = " ${ local . foundation_path } "
25+ template_dir = " ${ local . foundation_path } /docs/vuepress"
26+ output_dir = " ${ local . foundation_path } /.docs-v2"
27+ repo_dir = " ${ get_repo_root ()} "
28+ }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments