terraform state mv not creating backups #27908
Labels
bug
confirmed
a Terraform Core team member has reproduced this issue
documentation
explained
a Terraform Core team member has described the root cause of this issue in code
windows
Terraform Version
0.14.6 - WINDOWS
Expected Behavior
backup file should be created
Actual Behavior
no backup file is created
Steps to Reproduce
terraform state mv -backup="test.backup" -state-out="test/terraform.tfstate" aws_iam_role.test aws_iam_role.test
OR
terraform state mv -state-out="test/terraform.tfstate" aws_iam_role.test aws_iam_role.test
Additional Context
Using an s3 backend (might not be relevant, but is my current configuration). When specifying a
-backup
, no backup file is created when executing astate mv
. When not specifying-backup
, no backup file is created when executing astate mv
The text was updated successfully, but these errors were encountered: