standard
turbot/aws_compliance
Get Involved
Version
Pipeline: Test EC2 instances with IMDSv1 enabled
Tests the detection and correction of EC2 instances with IMDSv1 enabled.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws_compliance.pipeline.test_ec2_instances_with_imdsv1_enabled \ --arg 'subnet_id=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws_compliance.pipeline.test_ec2_instances_with_imdsv1_enabled args = { subnet_id = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.aws | Yes | The AWS connection to use. | connection.aws.default |
region | string | Yes | The AWS region. | us-east-1 |
ami_id | string | Yes | The AMI ID to use for the EC2 instance. | ami-0c94855ba95c71c99 |
instance_type | string | Yes | The EC2 instance type. | t2.micro |
instance_name | string | Yes | The name of the EC2 instance. | test-imdsv2-instance-9ea7d732-0a11-c1cc-61f2-459e789aea02 |
subnet_id | string | Yes | The subnet ID to use for the creation of the EC2 instance. | - |
Outputs
Name | Description |
---|---|
result |
Tags
folder = Tests