To pass multiple bootstrap actions in AWS EMR using Terraform, you can use the bootstrap_action block multiple times within your EMR cluster resource.

Here's an example:

resource "aws_emr_cluster" "example_cluster" {
  name          = "example-cluster"
  release_label = "emr-6.2.0"

  # ... other EMR cluster configuration ...

  bootstrap_action {
    path = "s3://bucket/script1.sh"
    name = "Script1"
    args = ["arg1", "arg2"]
  }

  bootstrap_action {
    path = "s3://bucket/script2.sh"
    name = "Script2"
    args = ["arg3", "arg4"]
  }
}

In the above example, two bootstrap actions are specified using the bootstrap_action block. Each block specifies a path to the script file in S3, a name for the bootstrap action, and an optional list of args to pass to the script.

Make sure to replace the example path values with your own S3 bucket and script paths. You can add as many bootstrap_action blocks as needed to pass multiple bootstrap actions to your EMR cluster.