diff --git a/terraform-hcl-standard/aws-cloud/bootstrap/identity/terragrunt.hcl b/terraform-hcl-standard/aws-cloud/bootstrap/identity/terragrunt.hcl index c551adad..71a476df 100644 --- a/terraform-hcl-standard/aws-cloud/bootstrap/identity/terragrunt.hcl +++ b/terraform-hcl-standard/aws-cloud/bootstrap/identity/terragrunt.hcl @@ -11,5 +11,8 @@ terraform { } inputs = { - bootstrap_config_path = get_env("BOOTSTRAP_CONFIG_PATH", "") + bootstrap_config_path = coalesce( + get_env("TF_CONFIG", null), + get_env("BOOTSTRAP_CONFIG_PATH", "") + ) } diff --git a/terraform-hcl-standard/aws-cloud/bootstrap/lock/terragrunt.hcl b/terraform-hcl-standard/aws-cloud/bootstrap/lock/terragrunt.hcl index 3d2b31ff..007495c5 100644 --- a/terraform-hcl-standard/aws-cloud/bootstrap/lock/terragrunt.hcl +++ b/terraform-hcl-standard/aws-cloud/bootstrap/lock/terragrunt.hcl @@ -11,5 +11,8 @@ terraform { } inputs = { - bootstrap_config_path = get_env("BOOTSTRAP_CONFIG_PATH", "") + bootstrap_config_path = coalesce( + get_env("TF_CONFIG", null), + get_env("BOOTSTRAP_CONFIG_PATH", "") + ) } diff --git a/terraform-hcl-standard/aws-cloud/bootstrap/state/terragrunt.hcl b/terraform-hcl-standard/aws-cloud/bootstrap/state/terragrunt.hcl index 91d9129d..633bb094 100644 --- a/terraform-hcl-standard/aws-cloud/bootstrap/state/terragrunt.hcl +++ b/terraform-hcl-standard/aws-cloud/bootstrap/state/terragrunt.hcl @@ -7,5 +7,8 @@ terraform { } inputs = { - bootstrap_config_path = get_env("BOOTSTRAP_CONFIG_PATH", "") + bootstrap_config_path = coalesce( + get_env("TF_CONFIG", null), + get_env("BOOTSTRAP_CONFIG_PATH", "") + ) }