library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Test Run EC2 Instance

Test the run_ec2_instances pipeline.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.test_run_ec2_instance \
--arg 'region=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.test_run_ec2_instance
args = {
region = <string>
}
}

Params

NameTypeRequiredDefaultDescription
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.
regionstringYes-The name of the Region.
instance_typestringYest2.microThe EC2 instance type (e.g., t2.micro).
image_idstringYesami-041feb57c611358bdThe ID of the Amazon Machine Image (AMI) to launch.

Outputs

NameDescription
created_instance_idInstance used in the test.
test_resultsTest results for each step.