Skip to content

reusable Terraform module for setting up AWS VPC flow logs

License

Notifications You must be signed in to change notification settings

yo61/terraform-aws-vpc_flowlog

 
 

Repository files navigation

AWS VPC Flow Log module for Terraform CircleCI

This is a reusable Terraform module for setting up VPC flow logs in Amazon Web Services.

Usage

module "flow_logs" {
  source = "github.com/GSA/terraform-vpc-flow-log"
  vpc_id = "${aws_vpc.main.id}"
}

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
aws n/a
template n/a

Inputs

Name Description Type Default Required
log_group_name Defaults to $${default_log_group_name} string "" no
prefix The prefix for the resource names. You will probably want to set this to the name of your VPC, if you have multiple. string "vpc" no
tags A map containing tags to apply to the cloudwatch_log_group map {} no
traffic_type https://www.terraform.io/docs/providers/aws/r/flow_log.html#traffic_type string "ALL" no
vpc_id n/a any n/a yes

Outputs

Name Description
log_group_name The name of the created cloudwatch log group

About

reusable Terraform module for setting up AWS VPC flow logs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 60.6%
  • Python 39.4%