library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
instance_typestringYesThe EC2 instance type (e.g., t2.micro).-
image_idstringYesThe ID of the Amazon Machine Image (AMI) to launch.-
countstringYesThe number of instances to launch.1

Outputs

NameDescription
instancesThe launched EC2 instances.

Tags

type = featured