Skip to content

Commit

Permalink
update README and example
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrbls committed Jan 12, 2021
1 parent 38764b2 commit cb0e4fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ This module enables us to use AWS Flow logs: network traffic logs at VPC, subnet
# OR subnet_id=
# OR eni_id=
# traffic_type="ALL"
# log_group_name="my-flowlog"
}
```
## Inputs


| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| log_group_name | the name of the cloudwatch log group | string | `cloud-platform-random` | no |
| vpc_id | VPC ID as the source of the flow log| string | | no |
| subnet_id | Subnet ID as the source of the flow log| string | | no |
| eni_id | ENI ID as the source of the flow log| string | | no |
Expand All @@ -47,7 +45,7 @@ Some of the inputs are tags. All infrastructure resources need to be tagged acco

| Name | Description |
|------|-------------|
| flow_log_name | Cloudwatch flow-log name |
| s3_bucket_name | S3 bucket containing the flow_logs|

## Reading Material

Expand Down
3 changes: 1 addition & 2 deletions examples/flow_logs.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

module "flow_logs"{
source= "github.com/ministryofjustice/cloud-platform-terraform-flow-logs?ref=1.0"
source= "github.com/ministryofjustice/cloud-platform-terraform-flow-logs?ref=1.2"
# vpc_id="my-vpc"
# OR subnet_id=
# OR eni_id=
# traffic_type="ALL"
# log_group_name="my-flowlog"
}

0 comments on commit cb0e4fd

Please sign in to comment.