terraform-aws-step-functions icon indicating copy to clipboard operation
terraform-aws-step-functions copied to clipboard

Add EMR Serverless support to service_integrations

Open andormarkus opened this issue 3 months ago β€’ 4 comments

Feature Request: Add EMR Serverless Support

Current Behavior

The module supports many AWS service integrations via the service_integrations parameter, but emr_serverless is not included.

Desired Behavior

Add support for emr_serverless in the service_integrations configuration to allow:

service_integrations = {
  emr_serverless = {
    emr_serverless = ["*"]
  }
}

Use Case

EMR Serverless is increasingly used for Spark/Hive workloads in Step Functions with .sync integrations. The required permissions are:

{
  "Effect": "Allow",
  "Action": [
    "emr-serverless:StartJobRun",
    "emr-serverless:GetJobRun", 
    "emr-serverless:CancelJobRun",
    "emr-serverless:ListJobRuns"
  ],
  "Resource": ["*"]
}

Workaround

Currently using attach_policy_json but service_integrations would be more consistent with other AWS services.


I'm happy to submit a PR for this if needed.

andormarkus avatar Aug 25 '25 20:08 andormarkus

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Sep 25 '25 00:09 github-actions[bot]

#remove stale

andormarkus avatar Sep 25 '25 05:09 andormarkus

Pull requests are welcome! Please open it and link to the official documentation for the IAM policies to review.

antonbabenko avatar Sep 25 '25 10:09 antonbabenko

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Oct 26 '25 00:10 github-actions[bot]

This issue was automatically closed because of stale in 10 days

github-actions[bot] avatar Nov 06 '25 00:11 github-actions[bot]