library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create VPC Flow Logs

Sets up flow logs for a specified VPC to monitor its network traffic.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.create_vpc_flow_logs \
--arg 'region=<string>' \
--arg 'vpc_id=<string>' \
--arg 'log_group_name=<string>' \
--arg 'iam_role_arn=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.create_vpc_flow_logs
args = {
region = <string>
vpc_id = <string>
log_group_name = <string>
iam_role_arn = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
vpc_id
string
YesThe ID of the VPC for which to enable flow logs.-
log_group_name
string
YesThe name of the CloudWatch Logs log group where the flow logs will be stored.-
traffic_type
string
YesThe type of traffic to log. Valid values are 'ACCEPT', 'REJECT', or 'ALL'.ALL
iam_role_arn
string
YesThe ARN of the IAM role that has permission to create flow logs.-

Outputs

NameDescription
flow_log_creationDetails about the creation of VPC flow logs.