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.
This commit is contained in:
James Bardin 2017-06-23 14:46:09 -04:00
parent 6e7baaaeff
commit 833cc9a6c5
2 changed files with 2 additions and 4 deletions

View File

@ -203,8 +203,7 @@ Options:
-backup=PATH Path where Terraform should write the backup for the original -backup=PATH Path where Terraform should write the backup for the original
state. This can't be disabled. If not set, Terraform state. This can't be disabled. If not set, Terraform
will write it to the same path as the statefile with will write it to the same path as the statefile with
a backup extension. This backup will be made in addition a backup extension.
to the timestamped backup.
-backup-out=PATH Path where Terraform should write the backup for the destination -backup-out=PATH Path where Terraform should write the backup for the destination
state. This can't be disabled. If not set, Terraform state. This can't be disabled. If not set, Terraform

View File

@ -78,8 +78,7 @@ Options:
-backup=PATH Path where Terraform should write the backup -backup=PATH Path where Terraform should write the backup
state. This can't be disabled. If not set, Terraform state. This can't be disabled. If not set, Terraform
will write it to the same path as the statefile with will write it to the same path as the statefile with
a backup extension. This backup will be made in addition a backup extension.
to the timestamped backup.
-state=statefile Path to a Terraform state file to use to look -state=statefile Path to a Terraform state file to use to look
up Terraform-managed resources. By default it will up Terraform-managed resources. By default it will