Commit 29655d5
committed
Handle no infra/account/*.tfbackend files better for initial setup
Rather than erroring on a project with no `infra/account/*.tfbackend`
files, have `bin/accounts-ids-by-name` return a valid but empty JSON
object. This is more predictable behavior and allows Terraform to error
on the specific lookup locations rather than when the script is
triggered (which also avoids having to conditionally execute the script,
etc.).1 parent 42ff0f3 commit 29655d5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments