standard
turbot/aws_compliance

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

NameTypeRequiredDescriptionDefault
conn
connection.aws
YesThe AWS connection to use.connection.aws.default
region
string
YesThe AWS region.us-east-1
ami_id
string
YesThe AMI ID to use for the EC2 instance.ami-0c94855ba95c71c99
instance_type
string
YesThe EC2 instance type.t2.micro
instance_name
string
YesThe name of the EC2 instance.test-imdsv2-instance-9ea7d732-0a11-c1cc-61f2-459e789aea02
subnet_id
string
YesThe subnet ID to use for the creation of the EC2 instance.-

Outputs

NameDescription
result

Tags

folder = Tests