Terraform state move resources from a tfstate file to another

Hi,

I want to migrate (move) a group of resources or a module with all the including resources from a .tfstate to another .tfstate.
I am using the following command:

terraform state mv -state-out=./s3/state.tfstate module.s3.aws_s3_bucket.bucket[1] module.s3.aws_s3_bucket.bucket[1]

which works perfect for a single resource, however, I need to migrate a group of them and I dont know what is the most efficient way to do it and how to adjust the command on this.
For example, I have got the following group of resources

module.s3.aws_s3_bucket.bucket[0]
module.s3.aws_s3_bucket.bucket[1]
module.s3.aws_s3_bucket.bucket[2]

Is there any way to move them all in one command? using a kind of ‘*’ or something?
Instead of executing the same command increasing each time the ref number?
Anyone can help me ?
Thanks!

Yes you can just specify the module: module.s3 will move every resource in the module