library
turbot/aws
Get Involved
Version
Pipeline: Stop EC2 Instances
Stops an Amazon EBS-backed instance.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.stop_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.stop_ec2_instances args = { region = <string> instance_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 |
instance_ids | list(string) | Yes | The IDs of the instances. | - |
Outputs
Name | Description |
---|---|
instances | Information about the stopped instances. |
Tags
recommended = true