samples
turbot/flowpipe-samples/query-and-stop-aws-ec2-instances-by-tag

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_tag

Use 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

NameTypeRequiredDescriptionDefault
aws_regionstringYesThe name of the Region.us-east-1
aws_credstringYesName for AWS credential to use. If not provided, the default credential will be used.default

Outputs

NameDescription
stopped_instancesStopped instances.