Merge pull request #173 from cloud-neutral-toolkit/codex/fix-null-value-error-in-terragrunt.hcl

Fix Terragrunt bootstrap locals resolution
This commit is contained in:
cloudneutral 2025-12-10 16:52:22 +08:00 committed by GitHub
commit 1c5d7bc920
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,8 @@ include "root" {
}
locals {
bootstrap_config = include.root.locals.bootstrap_config
root_config = read_terragrunt_config(find_in_parent_folders())
bootstrap_config = local.root_config.locals.bootstrap_config
}
dependency "state" {

View File

@ -3,7 +3,8 @@ include "root" {
}
locals {
bootstrap_config = include.root.locals.bootstrap_config
root_config = read_terragrunt_config(find_in_parent_folders())
bootstrap_config = local.root_config.locals.bootstrap_config
}
dependency "state" {

View File

@ -3,7 +3,8 @@ include "root" {
}
locals {
bootstrap_config = include.root.locals.bootstrap_config
root_config = read_terragrunt_config(find_in_parent_folders())
bootstrap_config = local.root_config.locals.bootstrap_config
}
terraform {