library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Launch EC2 Instances

Launches an Amazon EC2 instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.run_ec2_instances \
--arg 'region=<string>' \
--arg 'instance_type=<string>' \
--arg 'image_id=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.run_ec2_instances
args = {
region = <string>
instance_type = <string>
image_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
instance_type
string
YesThe EC2 instance type (e.g., t2.micro).-
image_id
string
YesThe ID of the Amazon Machine Image (AMI) to launch.-
count
string
YesThe number of instances to launch.1

Outputs

NameDescription
instancesThe launched EC2 instances.

Tags

recommended = true