sample
turbot/flowpipe-samples/aws-ec2-instance-scheduler

Pipeline: AWS EC2 Instance Scheduler

Pipeline for AWS EC2 Instance Scheduling using cron jobs.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_ec2_instance_scheduler.pipeline.aws_ec2_instance_scheduler \
--arg 'schedule_name=<string>' \
--arg 'action=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws_ec2_instance_scheduler.pipeline.aws_ec2_instance_scheduler
args = {
schedule_name = <string>
action = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
aws_region
string
YesThe name of the Region.us-east-1
aws_conn
connection.aws
YesName for AWS connection to use. If not provided, the default connection will be used.connection.aws.default
teams_conn
connection.teams
YesName for Teams connection to use. If not provided, the default connection will be used.connection.teams.default
team_id
string
YesThe unique identifier of the team.111aaa00-abcd-efgh-1234-000aaa111bbb
teams_channel_id
string
YesThe unique identifier for the Teams channel.20-9234-20392-2913
schedule_name
string
YesThe name of the tag that is used to identify the schedule.-
action
string
YesThe action to perform on the EC2 instances. Valid values are 'start' and 'stop'.-

Outputs

This pipeline has no outputs.