terraform/website/docs/commands
Martin Atkins c06675c616 command: New -compact-warnings option
When warnings appear in isolation (not accompanied by an error) it's
reasonable to want to defer resolving them for a while because they are
not actually blocking immediate work.

However, our warning messages tend to be long by default in order to
include all of the necessary context to understand the implications of
the warning, and that can make them overwhelming when combined with other
output.

As a compromise, this adds a new CLI option -compact-warnings which is
supported for all the main operation commands and which uses a more
compact format to print out warnings as long as they aren't also
accompanied by errors.

The default remains unchanged except that the threshold for consolidating
warning messages is reduced to one so that we'll now only show one of
each distinct warning summary.

Full warning messages are always shown if there's at least one error
included in the diagnostic set too, because in that case the warning
message could contain additional context to help understand the error.
2019-12-10 11:53:14 -08:00
..
providers docs: Minor spelling and typo fixes 2019-09-05 10:08:34 -07:00
state docs/commands: Switch using count/for_each to configured with count/for_each 2019-08-05 21:50:17 -04:00
workspace website: Add `workspace show` command to sidebar nav (#20800) 2019-03-22 15:06:53 -07:00
0.12upgrade.html.markdown website: Fix several spelling errors 2019-03-21 18:12:11 -07:00
apply.html.markdown command: New -compact-warnings option 2019-12-10 11:53:14 -08:00
cli-config.html.markdown website: update link to api token documentation for terraform cloud 2019-09-24 12:21:03 -07:00
console.html.markdown website: fix typo on the "terraform console" command page 2019-04-10 12:17:28 -07:00
destroy.html.markdown Docs: reference resource by index, fixes #18184 2019-03-19 09:42:05 -07:00
env.html.markdown website: Reorganize nav sidebars to improve jumps between sections 2019-01-31 16:18:23 -08:00
environment-variables.html.md Adding documentation for TF_CLI_CONFIG_FILE environment variable (#20834) 2019-04-05 14:21:40 -04:00
fmt.html.markdown website/docs: add the fmt -recursive flag. (#21963) 2019-07-05 13:32:57 -04:00
force-unlock.html.markdown website: Correct usage for force-unlock command 2017-07-18 09:02:29 -07:00
get.html.markdown website: new filesystem layout for core/provider split 2017-06-13 11:25:32 -07:00
graph.html.markdown website: Update options for graph command 2019-03-21 18:11:50 -07:00
import.html.md command/import: fix error during import when implied provider was not used (#22855) 2019-09-20 10:02:42 -04:00
index.html.markdown website: Update example command list for 0.12 2019-08-16 15:55:29 -07:00
init.html.markdown Merge pull request #18820 from Sagar2366/patch-6 2019-07-18 15:26:05 +01:00
output.html.markdown Mildwonkey/docs updates (#22623) 2019-08-28 15:34:22 -04:00
plan.html.markdown command: New -compact-warnings option 2019-12-10 11:53:14 -08:00
providers.html.markdown website: add documentation for terraform providers schema (#20468) 2019-02-27 11:08:31 -08:00
push.html.markdown website: Delete terraform push docs; replace with note about the remote backend 2019-08-16 15:55:29 -07:00
refresh.html.markdown command: New -compact-warnings option 2019-12-10 11:53:14 -08:00
show.html.markdown website: Indicate v0.12-only content 2019-03-18 12:42:21 -07:00
taint.html.markdown website: example of "terraform taint" with a grandchild module 2019-11-11 10:12:11 -08:00
untaint.html.markdown Update website/docs/commands/untaint.html.markdown 2019-08-06 21:18:20 +02:00
validate.html.markdown website / help: reconcile 'validate' command docs 2019-10-03 15:31:33 -07:00