aws/aws-sdk-pandas

EMR create_cluster support pass bootstrap arguments

Ouverte

#3 191 ouverte le 29 août 2025

 (6 commentaires) (0 réaction) (1 personne assignée)Python (630 forks)batch import
enhancementgood first issuehelp wanted

Métriques du dépôt

Stars
 (3 560 étoiles)
Métriques de merge PR
 (Merge moyen 6j 23h) (37 PRs mergées en 30 j)

Description

Is your idea related to a problem? Please describe. Currently the API emr.create_cluster only offer simple bootstraps_paths parameters, which not allow client to add additional arguments for the bootstrap scripts. This is limited the re-use-ablity of the scripts.

Describe the solution you'd like Please to have a pull request to enhance this, by pass a List[Union[str, dict[str, any]]] which can support both cases

  1. current sample list of bootstrap uri list
  2. the following bootstrap configurations with additional arguments, this will align with https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/emr/client/run_job_flow.html
{
  "name": "install CW agent",
  "path": "s3//example-bucket/emr-boostraps/install-cw.sh",
  "args": ["--target-aws-account", "121213", ... ],
}

P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.

Guide contributeur