Merge pull request #207 from cloud-neutral-workshop/codex/fix-invalid-function-argument-in-terragrunt.hcl
Use BOOTSTRAP_CONFIG_PATH for bootstrap configuration inputs
This commit is contained in:
commit
51acf876b1
@ -35,6 +35,7 @@ env:
|
||||
TG_VERSION: 0.67.14
|
||||
GITOPS_REPO_ROOT: gitops
|
||||
GITOPS_BOOTSTRAP_CONFIG: ${{ github.event.inputs.gitops_bootstrap_config || 'config/xzerolab/sit/aws-cloud/account/bootstrap.yaml' }}
|
||||
BOOTSTRAP_CONFIG_PATH: ${{ format('{0}/{1}/{2}', github.workspace, env.GITOPS_REPO_ROOT, env.GITOPS_BOOTSTRAP_CONFIG) }}
|
||||
|
||||
jobs:
|
||||
bootstrap:
|
||||
|
||||
@ -12,7 +12,7 @@ terraform {
|
||||
|
||||
inputs = {
|
||||
bootstrap_config_path = coalesce(
|
||||
get_env("TF_CONFIG", null),
|
||||
get_env("BOOTSTRAP_CONFIG_PATH", "")
|
||||
trimspace(get_env("BOOTSTRAP_CONFIG_PATH", "")),
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ terraform {
|
||||
|
||||
inputs = {
|
||||
bootstrap_config_path = coalesce(
|
||||
get_env("TF_CONFIG", null),
|
||||
get_env("BOOTSTRAP_CONFIG_PATH", "")
|
||||
trimspace(get_env("BOOTSTRAP_CONFIG_PATH", "")),
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ terraform {
|
||||
|
||||
inputs = {
|
||||
bootstrap_config_path = coalesce(
|
||||
get_env("TF_CONFIG", null),
|
||||
get_env("BOOTSTRAP_CONFIG_PATH", "")
|
||||
trimspace(get_env("BOOTSTRAP_CONFIG_PATH", "")),
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user