library
turbot/aws
Get Involved
Version
Pipeline: Terminate EMR Clusters
Terminates one or more AWS EMR clusters.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.terminate_emr_clusters \ --arg 'region=<string>' \ --arg 'cluster_ids=<list(string)>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.terminate_emr_clusters args = { region = <string> cluster_ids = <list(string)> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
cluster_ids | list(string) | Yes | A list of EMR cluster IDs to terminate. | - |
Outputs
Name | Description |
---|---|
clusters | Information about the terminated clusters. |