Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
c4po committed Mar 19, 2024
1 parent 523cf85 commit f0520bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/terraform-demux/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func main() {

func checkStateCommand(args []string) error {
if checkArgsExists(args, "state") && !checkArgsExists(args, "--force") {
return errors.New("--force flag is required for the 'state' command")
return errors.New("--force flag is required for the 'state' command. Consider using Terraform configuration blocks (moved, import) instead")
}
return nil
}
Expand Down

0 comments on commit f0520bb

Please sign in to comment.