Sets up an EMR Serverless application with initial capacity configuration including worker count and worker configuration.

Terraform Template

resource "aws_emrserverless_application" "example" {

  initial_capacity {

    initial_capacity_config {

      worker_configuration {
        cpu = "2 vCPU"
        memory = "10 GB"
      }
      worker_count = 1
    }
    initial_capacity_type = "HiveDriver"
  }
  name = "example"
  release_label = "emr-6.6.0"
  type = "hive"
}