OCI provider: Attach multiple disk using terraform

Hi,

I using below dict to attach multiple disk in terraform. could you please assist how to attach multile disk using dist of list…
using below config i able to attach single disk on each instance but i need to attache mutliple disk from the list…

configuration = [
{
“display_name”: “test3”
“Owner_name” : “rajini.l@oracle.com”,
“no_of_instances” : “2”,
“disks” : [“50”,“100”] → need to attache multiple disk using list
},
{
“display_name”: “test2”
“Owner_name” : “rajini.2@oracle.com”,
“no_of_instances” : “1”,
“disks” : [“50”,“100”]
},
{
“display_name”: “test1”
“Owner_name” : “rajini.3@oracle.com”,
“no_of_instances” : “1”,
“disks” : [“50”,“100”]
},

resource “oci_core_volume” “test_volume” {
for_each = {for server in local.instances: server.instance_name => server}
compartment_id = data.oci_identity_compartments.test_compartments.compartments[0].id
size_in_gbs = each.value.disks[0]
availability_domain = “${var.ad}”

}