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

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_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
teams_credstringYesName for Teams credential to use. If not provided, the default credential will be used.default
team_idstringYesThe unique identifier of the team.111aaa00-abcd-efgh-1234-000aaa111bbb
teams_channel_idstringYesThe unique identifier for the Teams channel.20-9234-20392-2913
schedule_namestringYesThe name of the tag that is used to identify the schedule.-
actionstringYesThe action to perform on the EC2 instances. Valid values are 'start' and 'stop'.-

Outputs

This pipeline has no outputs.