library
turbot/aws
Get Involved
Version
Pipeline: 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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
region | string | Yes | The name of the Region. | - |
instance_type | string | Yes | The EC2 instance type (e.g., t2.micro). | t2.micro |
image_id | string | Yes | The ID of the Amazon Machine Image (AMI) to launch. | ami-041feb57c611358bd |
Outputs
Name | Description |
---|---|
created_instance_id | Instance used in the test. |
test_results | Test results for each step. |
Tags
folder = Tests