Merge pull request #206 from cloud-neutral-workshop/codex/fix-invalid-variable-value-for-bootstrap_config_path
Add TF_CONFIG fallback for bootstrap config path
This commit is contained in:
commit
ffb3a6d962
@ -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