Files
opentf/command
Martin Atkins 0a596d2a12 command/version: Report the current platform
Along with all of the other information we previously reported in the
"terraform version" output, we'll now include the name of the current
platform as our provider mechanisms represent it.

This is addressing a long-standing minor annoyance where we often can't
tell from an incomplete bug report which platform Terraform was running
on, and incomplete bug reporters do tend to at least include the
"terraform version" output even if they don't also include the requested
full trace log.

However, what motivated doing it _now_ is that anyone building a provider
registry or mirror needs to have some awareness of these platform
identifiers which have been, until v0.13, mostly an implementation detail.
This additional information is a small thing we can do to help registry
builders find out what the platform identifier ought to be for each of
the platforms they aim to support, even if some of them are platforms
which the Go compiler allows but which HashiCorp doesn't officially
support.

The new information is on a line of its own in the output as a pragmatic
way to avoid breaking anyone who might be using something like
$(terraform version | head -n1) to print a brief Terraform version
identifier into some logs. That's not an interface we officially support
for machine consumption, but it's easy to avoid breaking it here and so we
won't do so.
2020-11-19 14:15:30 -08:00
..
2015-04-29 13:07:13 -05:00
2020-10-19 14:29:54 -04:00
2020-10-08 08:42:16 -04:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2020-10-08 08:42:16 -04:00
2020-10-07 11:00:06 -04:00
2020-10-07 11:00:06 -04:00
2019-07-18 16:11:41 -04:00
2020-10-23 12:46:32 -04:00
2020-10-08 08:42:16 -04:00
2018-10-16 18:24:47 -07:00
2020-10-08 08:42:16 -04:00
2020-10-08 08:42:16 -04:00
2020-10-08 08:42:16 -04:00
2020-10-07 11:00:06 -04:00
2020-10-07 11:00:06 -04:00
2020-10-08 08:42:16 -04:00
2020-10-07 11:00:06 -04:00
2020-10-08 08:42:16 -04:00
2020-10-08 08:42:16 -04:00
2020-10-07 11:00:06 -04:00
2020-10-08 08:42:16 -04:00
2020-10-07 11:00:06 -04:00
2020-10-08 08:42:16 -04:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2020-10-08 08:42:16 -04:00