How do i add additional cloud sql instances in metadata configuration of dataproc cluster using Terraform

How to add additional cloud sql instance in metadata for dataproc cluster??

Error: Error creating Dataproc cluster: googleapi: Error 400: Metadata key ‘^*^additional-cloud-sql-instances’ must match pattern [a-zA-Z0-9-_]{1,128}, badRequest

This is how it look like in gcloud cli -
–metadata “additional-cloud-sql-instances=<PROJECT_ID>::<ANOTHER_INSTANCE_NAME>=tcp<PORT_#>[,…]”