samples
turbot/flowpipe-samples/query-and-stop-aws-ec2-instances-by-tag
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
aws_region | string | Yes | The name of the Region. | us-east-1 |
aws_cred | string | Yes | Name for AWS credential to use. If not provided, the default credential will be used. | default |
Outputs
Name | Description |
---|---|
stopped_instances | Stopped instances. |