Nick Fagerlund
1cbc95ce56
Use wrapped types to clean up error reporting in show command
...
Since terraform show can accept three different kinds of file to act on, its
error messages were starting to become untidy and unhelpful. The main issue was
that if we successfully identified the file type but then ran into some problem
while reading or processing it, the "real" error would be obscured by some other
useless errors (since a file of one type is necessarily invalid as the other
types).
This commit tries to winnow it down to just one best error message, in the
"happy path" case where we know what we're dealing with but hit a snag. (If we
still have no idea, then we fall back to dumping everything.)
2023-07-24 14:12:44 -04:00
..
2023-07-20 16:57:05 +02:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-10 11:33:45 +01:00
2023-06-28 09:47:24 +02:00
2023-07-24 14:12:44 -04:00
2023-05-02 15:33:06 +00:00
2023-07-19 10:07:46 +02:00
2023-07-06 10:37:35 -04:00
2023-07-19 10:07:46 +02:00
2023-07-20 16:57:05 +02:00
2023-07-19 10:31:32 +02:00
2023-07-24 14:12:44 -04:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-24 14:12:40 -04:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-19 10:07:46 +02:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-19 10:07:46 +02:00
2023-05-02 15:33:06 +00:00
2023-07-24 14:12:40 -04:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-11 08:38:37 +02:00
2023-07-10 14:33:15 +01:00
2023-07-19 10:07:46 +02:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-24 14:12:40 -04:00
2023-07-24 14:12:40 -04:00
2023-07-19 10:07:46 +02:00
2023-05-02 15:33:06 +00:00
2023-07-24 14:12:40 -04:00
2023-07-06 10:37:35 -04:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-14 10:24:10 -07:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-06 19:28:09 +01:00
2023-05-31 20:42:41 +01:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-14 10:24:10 -07:00
2023-05-02 15:33:06 +00:00
2023-07-14 10:24:10 -07:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-10 14:33:15 +01:00
2023-07-20 16:57:05 +02:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-24 14:12:44 -04:00
2023-07-24 14:12:44 -04:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-07-14 10:24:10 -07:00
2023-07-20 16:57:05 +02:00
2023-07-20 16:57:05 +02:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-06-27 19:25:36 +01:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00
2023-05-02 15:33:06 +00:00