From a157ebbccd7d920852625d2c04b66d1c62c79bb2 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 3 Feb 2017 14:15:08 -0500 Subject: [PATCH] add -lock-state usage to plan/refresh/apply/destr --- command/apply.go | 4 ++++ command/plan.go | 2 ++ command/refresh.go | 2 ++ 3 files changed, 8 insertions(+) diff --git a/command/apply.go b/command/apply.go index 05a7e5988..4e29262a9 100644 --- a/command/apply.go +++ b/command/apply.go @@ -274,6 +274,8 @@ Options: modifying. Defaults to the "-state-out" path with ".backup" extension. Set to "-" to disable backup. + -lock-state=true Lock the state file when locking is supported. + -input=true Ask for input for variables if not directly set. -no-color If specified, output won't contain any color. @@ -321,6 +323,8 @@ Options: -force Don't ask for input for destroy confirmation. + -lock-state=true Lock the state file when locking is supported. + -no-color If specified, output won't contain any color. -parallelism=n Limit the number of concurrent operations. diff --git a/command/plan.go b/command/plan.go index f3aa4355c..0bae85292 100644 --- a/command/plan.go +++ b/command/plan.go @@ -143,6 +143,8 @@ Options: -input=true Ask for input for variables if not directly set. + -lock-state=true Lock the state file when locking is supported. + -module-depth=n Specifies the depth of modules to show in the output. This does not affect the plan itself, only the output shown. By default, this is -1, which will expand all. diff --git a/command/refresh.go b/command/refresh.go index 6898d1302..f51386648 100644 --- a/command/refresh.go +++ b/command/refresh.go @@ -96,6 +96,8 @@ Options: -input=true Ask for input for variables if not directly set. + -lock-state=true Lock the state file when locking is supported. + -no-color If specified, output won't contain any color. -state=path Path to read and save state (unless state-out