From 833cc9a6c5777e9f91ee3c635c78624eb2098388 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 23 Jun 2017 14:46:09 -0400 Subject: [PATCH] Fix state mv/rm -backup documentation There is only one backup made, contrary to the help text. We may want to implement that, but the documentation should match the current behavior. --- command/state_mv.go | 3 +-- command/state_rm.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/command/state_mv.go b/command/state_mv.go index 5b99dd2ab..71e934af4 100644 --- a/command/state_mv.go +++ b/command/state_mv.go @@ -203,8 +203,7 @@ Options: -backup=PATH Path where Terraform should write the backup for the original state. This can't be disabled. If not set, Terraform will write it to the same path as the statefile with - a backup extension. This backup will be made in addition - to the timestamped backup. + a backup extension. -backup-out=PATH Path where Terraform should write the backup for the destination state. This can't be disabled. If not set, Terraform diff --git a/command/state_rm.go b/command/state_rm.go index b2491c4e8..44c8d8a05 100644 --- a/command/state_rm.go +++ b/command/state_rm.go @@ -78,8 +78,7 @@ Options: -backup=PATH Path where Terraform should write the backup state. This can't be disabled. If not set, Terraform will write it to the same path as the statefile with - a backup extension. This backup will be made in addition - to the timestamped backup. + a backup extension. -state=statefile Path to a Terraform state file to use to look up Terraform-managed resources. By default it will