Skip to content

appvia/terraform-aws-vpc-flow-logs

Appvia Banner

Terraform Registry Latest Release Slack Community Contributors

Github Actions

Terraform AWS VPC Flow Logs

Description

A module to enable VPC flow logs on an aws vpc

Usage

Add example usage here

module "example" {
  source  = "appvia/terraform-aws-vpc-flow-logs/aws"
  version = "0.0.1"

  name   = "example-vpc-flow-logs"
  vpc_id = "vpc-0123456789abcdef"
}

Update Documentation

The terraform-docs utility is used to generate this README. Follow the below steps to update:

  1. Make changes to the .terraform-docs.yml file
  2. Fetch the terraform-docs binary (https://terraform-docs.io/user-guide/installation/)
  3. Run terraform-docs markdown table --output-file ${PWD}/README.md --output-mode inject .

Providers

Name Version
aws >= 5.0.0

Inputs

Name Description Type Default Required
name Name used for the cloudwatch group and role string n/a yes
vpc_id The ID of the VPC to enable flow logs for string n/a yes
retention_in_days Number of days to retain flow logs number 365 no
traffic_type Type of traffic to capture. Valid values: ACCEPT,REJECT, ALL string "ALL" no

Outputs

No outputs.

About

A terraform module to enable flow logs on an AWS vpc

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published