Add TF_CONFIG fallback for bootstrap config path
This commit is contained in:
parent
f8aaf33e07
commit
9c69f9f6a5
@ -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", "")
|
||||
)
|
||||
}
|
||||
|
||||
@ -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", "")
|
||||
)
|
||||
}
|
||||
|
||||
@ -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", "")
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user