diff --git a/README.md b/README.md index 8c2d0646..7642b279 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A Terraform module that creates application loadbalancer (with loadbalancer security groups) in AWS with logging enabled, s3 to store logs and Athena DB to query logs. -An s3 bucket name can be provided in the module by adding the `existing_bucket_name` variable and adding the bucket name. Otherwise, if no bucket exists one will be created and no variable needs to be set in the module. +An s3 bucket name can be provided in the module by adding the `existing_bucket_name` variable and adding the bucket name. Otherwise, if no bucket exists one will be created and no variable needs to be set in the module. If using an existing bucket the following needs to be considered for the logs to be moved to the s3 bucket the bucket has to have the following folder structure {application_name}/AWSLogs/{account_number}/elasticloadbalancing/ otherwise you will experience errors with the gluecrawler function. Either pass in existing security group(s) to attach to the load balancer using the `security_groups` variable, or define `loadbalancer_ingress_rules` and `loadbalancer_egress_rules` variables to create a new security group within the module. @@ -53,6 +53,7 @@ Click the new saved query that is named ``-create-table and Run it. Try a query like `select * from lb_logs limit 100;` + ## Usage ```hcl