terraform-aws-step-functions
terraform-aws-step-functions copied to clipboard
Add EMR Serverless support to service_integrations
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.
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
#remove stale
Pull requests are welcome! Please open it and link to the official documentation for the IAM policies to review.
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
This issue was automatically closed because of stale in 10 days