Fix bootstrap config path lookup

This commit is contained in:
cloudneutral 2025-12-11 00:11:05 +08:00
parent af6e9d9b7a
commit 6edbd4e676

View File

@ -2,5 +2,5 @@ terraform_version_constraint = ">= 1.2.0"
terragrunt_version_constraint = ">= 0.67.14"
locals {
bootstrap_config = yamldecode(file(abspath("${get_terragrunt_dir()}/../config/accounts/bootstrap.yaml")))
bootstrap_config = yamldecode(file(find_in_parent_folders("config/accounts/bootstrap.yaml")))
}