standard
turbot/aws_compliance

Pipeline: Correct one EC2 instance with multiple ENIs

Runs corrective action on an EC2 instance using multiple Elastic Network Interfaces.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.correct_one_ec2_instance_with_multiple_enis \
--arg 'title=<string>' \
--arg 'instance_id=<string>' \
--arg 'region=<string>' \
--arg 'conn=<connection.aws>' \
--arg 'attachment_id=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.correct_one_ec2_instance_with_multiple_enis
args = {
title = <string>
instance_id = <string>
region = <string>
conn = <connection.aws>
attachment_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
title
string
YesTitle of the resource, to be used as a display name.-
instance_id
string
YesThe ID of the EC2 instance.-
region
string
YesAWS Region of the resource(s).-
conn
connection.aws
YesName of the AWS connection to be used for any authenticated actions.-
attachment_id
string
YesThe attachment ID of the network interface.-
notifier
notifier
YesThe name of the notifier to use for sending notification messages.notifier.default
notification_level
string
verbose, info, error
YesThe verbosity level of notification messages to send.info
approvers
list(notifier)
YesList of notifiers to be used for obtaining action/approval decisions.notifier.default
default_action
string
notify, skip, detach_network_interface
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, detach_network_interface
YesThe list of enabled actions approvers can select.
[
"skip",
"detach_network_interface"
]

Outputs

This pipeline has no outputs.

Tags

category = Compliance
folder = Internal
mod = aws
service = AWS/EC2