You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9fc47c
Browse filesBrowse the repository at this point in the historyBrowse files
website: Add documentation for machine readable UI
Terraform 0.15.3 added support for a `-json` flag to the plan, apply,
and refresh commands, which renders the Terraform UI output in a
structured machine readable format. This commit adds documentation for
this interface.
Copy file name to clipboardExpand all lines: website/docs/cli/commands/apply.html.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,13 @@ _in addition to_ the planning modes and planning options described for
91
91
[Running Terraform in Automation](https://learn.hashicorp.com/tutorials/terraform/automate-terraform?in=terraform/automation&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) for some
92
92
different approaches.
93
93
94
+
*`-json` - Enables the [machine readable JSON UI][machine-readable-ui] output.
95
+
This implies `-input=false`, so the configuration must have no unassigned
96
+
variable values to continue. To enable this flag, you must also either enable
97
+
the `-auto-approve` flag or specify a previously-saved plan.
0 commit comments