sample
turbot/flowpipe-samples/query-and-stop-aws-ec2-instances-by-tag
Get Involved
Version
Pipeline: Query and Stop AWS EC2 Instances by Tag
Query and stop AWS EC2 instance based on the `status` tag value.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run query_and_stop_aws_ec2_instances_by_tag.pipeline.query_and_stop_aws_ec2_instances_by_tagUse this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = query_and_stop_aws_ec2_instances_by_tag.pipeline.query_and_stop_aws_ec2_instances_by_tag }Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| aws_region | string | Yes | The name of the Region. | us-east-1 |
| aws_conn | connection.aws | Yes | Name for AWS connection to use. If not provided, the default connection will be used. | connection.aws.default |
Outputs
| Name | Description |
|---|---|
| stopped_instances | Stopped instances. |