A module to enable VPC flow logs on an aws vpc
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"
}
The terraform-docs
utility is used to generate this README. Follow the below steps to update:
- Make changes to the
.terraform-docs.yml
file - Fetch the
terraform-docs
binary (https://terraform-docs.io/user-guide/installation/) - Run
terraform-docs markdown table --output-file ${PWD}/README.md --output-mode inject .
Name | Version |
---|---|
aws | >= 5.0.0 |
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 |
No outputs.