userhas404d / terraform-aws-tardigrade-vpc-flow-log

Terraform module to create a VPC Flow Log

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-tardigrade-vpc-flow-log

Terraform module to create a VPC Flow Log

Inputs

Name Description Type Default Required
create_vpc_flow_log Controls whether to create the VPC Flow Log bool "true" no
iam_role_arn (Optional) ARN for the IAM role to attach to the flow log. If blank, a minimal role will be created string "null" no
log_destination (Optional) The ARN of the logging destination. string "null" no
log_destination_type Controls whether to create the VPC Flow Log with a cloud-watch-logs or s3 bucket destination string "null" no
log_group_name (Optional) Name to assign to the CloudWatch Log Group. If blank, will use /aws/vpc/flow-log/$$${var.vpc_id} string "null" no
tags A map of tags to add to the CloudWatch Log Group for the VPC Flow Log map(string) <map> no
vpc_id VPC ID for which the VPC Flow Log will be created string "null" no

Outputs

Name Description
flow_log_id The ID of the VPC Flow Log
iam_role_arn ARN of the IAM Role for the VPC Flow Log
iam_role_name Name of the IAM Role for the VPC Flow Log
iam_role_unique_id Unique ID of the IAM Role for the VPC Flow Log
log_group_arn ARN of the Log Group for the VPC Flow Log

About

Terraform module to create a VPC Flow Log

License:Apache License 2.0


Languages

Language:HCL 46.6%Language:Makefile 44.3%Language:Go 9.1%