Want to create multiple fsx_ontap_volumes using the dynamic blocks

Hello All,
I am trying to create multiple fsx_ontap_volumes using the dynamic blocks. Below is the code which I am using for creating a single fsx volume.
Now we are creating single SVM but we want to create multiple volumes for this SVM (around 100) so was thinking to create it using the dynamic blocks with different names.

resource “aws_fsx_ontap_volume” “fsxn_vol” {
name = “test”
junction_path = “/test”
size_in_megabytes = 5120
storage_efficiency_enabled = true
storage_virtual_machine_id = aws_fsx_ontap_storage_virtual_machine.fsxn_svm.id
security_style = “NTFS”

tiering_policy {
name = “AUTO”
cooling_period = 3
}
}

Can anyone please help me out here please.
Thanks in advance.

Anyone have any idea about this please ?