こんな感じで並べればOKでした。
resource "aws_emr_cluster" "emr-cluster" {
name = "emr-cluster"
release_label = "emr-5.3.0"
applications = ["Spark"]
## 省略
bootstrap_action {
path = "s3://elasticmapreduce/bootstrap-actions/run-if"
name = "runif"
args = ["instance.isMaster=true", "echo running on master node"]
}
bootstrap_action {
path = "s3://elasticmapreduce/bootstrap-actions/run-if"
name = "runif"
args = ["instance.isMaster=false", "echo running on core node"]
}
## 省略
}