library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Test Start and Stop EC2 Instance

Tests the start_ec2_instances and the start_ec2_instances pipelines.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.test_start_and_stop_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_start_and_stop_ec2_instance
args = {
region = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
regionstringYesThe name of the Region.-
instance_typestringYesThe EC2 instance type (e.g., t2.micro).t2.micro
image_idstringYesThe ID of the Amazon Machine Image (AMI) to launch.ami-041feb57c611358bd

Outputs

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