library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
vpc_idstringYesThe ID of the VPC for which to enable flow logs.-
log_group_namestringYesThe name of the CloudWatch Logs log group where the flow logs will be stored.-
traffic_typestringYesThe type of traffic to log. Valid values are 'ACCEPT', 'REJECT', or 'ALL'.ALL
iam_role_arnstringYesThe ARN of the IAM role that has permission to create flow logs.-

Outputs

NameDescription
flow_log_creationDetails about the creation of VPC flow logs.