sample
turbot/flowpipe-samples/aws-ec2-instance-scheduler
Get Involved
Version
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> }}
Triggers
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 |
teams_conn | connection.teams | Yes | Name for Teams connection to use. If not provided, the default connection will be used. | connection.teams.default |
team_id | string | Yes | The unique identifier of the team. | 111aaa00-abcd-efgh-1234-000aaa111bbb |
teams_channel_id | string | Yes | The unique identifier for the Teams channel. | 20-9234-20392-2913 |
schedule_name | string | Yes | The name of the tag that is used to identify the schedule. | - |
action | string | Yes | The action to perform on the EC2 instances. Valid values are 'start' and 'stop'. | - |
Outputs
This pipeline has no outputs.