library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Terminate EC2 Instances

Terminates one or more Amazon EC2 instances.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.terminate_ec2_instances \
--arg 'region=<string>' \
--arg 'instance_ids=<list(string)>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.terminate_ec2_instances
args = {
region = <string>
instance_ids = <list(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
instance_idslist(string)YesA list of EC2 instance IDs to terminate.-

Outputs

NameDescription
instancesInformation about the terminated instances.