{"id":18907749,"url":"https://github.com/infraspecdev/terraform-aws-athena","last_synced_at":"2026-01-27T04:33:34.530Z","repository":{"id":254234487,"uuid":"843725924","full_name":"infraspecdev/terraform-aws-athena","owner":"infraspecdev","description":"This Terraform module automates the setup of AWS Athena to query ALB access and connection logs stored in an S3 bucket. ","archived":false,"fork":false,"pushed_at":"2025-10-15T09:28:35.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-16T01:14:21.863Z","etag":null,"topics":["athena","glue-catalog","terrform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/infraspecdev/athena/aws/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infraspecdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-17T08:25:00.000Z","updated_at":"2025-10-15T09:28:40.000Z","dependencies_parsed_at":"2024-08-22T07:42:39.544Z","dependency_job_id":"e39fc8d2-fb6a-409e-ae0d-562403b10a90","html_url":"https://github.com/infraspecdev/terraform-aws-athena","commit_stats":null,"previous_names":["infraspecdev/terraform-aws-athena"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/infraspecdev/terraform-aws-athena","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infraspecdev%2Fterraform-aws-athena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infraspecdev%2Fterraform-aws-athena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infraspecdev%2Fterraform-aws-athena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infraspecdev%2Fterraform-aws-athena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infraspecdev","download_url":"https://codeload.github.com/infraspecdev/terraform-aws-athena/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infraspecdev%2Fterraform-aws-athena/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28802065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["athena","glue-catalog","terrform-module"],"created_at":"2024-11-08T09:23:02.164Z","updated_at":"2026-01-27T04:33:34.518Z","avatar_url":"https://github.com/infraspecdev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\nterraform-aws-athena\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.8.4 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 6.16 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | ~\u003e 6.16 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_athena_workgroup.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/athena_workgroup) | resource |\n| [aws_glue_catalog_database.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/glue_catalog_database) | resource |\n| [aws_glue_catalog_table.alb_logs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/glue_catalog_table) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_alb_access_logs_table_name\"\u003e\u003c/a\u003e [alb\\_access\\_logs\\_table\\_name](#input\\_alb\\_access\\_logs\\_table\\_name) | (Optional) The name of the Glue Catalog table that will store the parsed ALB access logs | `string` | `\"alb_access_logs\"` | no |\n| \u003ca name=\"input_alb_connection_logs_table_name\"\u003e\u003c/a\u003e [alb\\_connection\\_logs\\_table\\_name](#input\\_alb\\_connection\\_logs\\_table\\_name) | (Optional) The name of the Glue Catalog table that will store the parsed ALB connection logs | `string` | `\"alb_connection_logs\"` | no |\n| \u003ca name=\"input_database_name\"\u003e\u003c/a\u003e [database\\_name](#input\\_database\\_name) | (Required) The name of the Athena database in the AWS Glue Catalog that will contain the schema definitions for your ALB logs | `string` | n/a | yes |\n| \u003ca name=\"input_query_results_bucket\"\u003e\u003c/a\u003e [query\\_results\\_bucket](#input\\_query\\_results\\_bucket) | (Required) The name of the S3 bucket where Athena will store the output of executed queries | `string` | n/a | yes |\n| \u003ca name=\"input_s3_bucket_name\"\u003e\u003c/a\u003e [s3\\_bucket\\_name](#input\\_s3\\_bucket\\_name) | (Required) The name of the S3 bucket that holds the raw Application Load Balancer (ALB) logs | `string` | n/a | yes |\n| \u003ca name=\"input_workgroup_name\"\u003e\u003c/a\u003e [workgroup\\_name](#input\\_workgroup\\_name) | (Required) The name of the Athena workgroup that will manage and isolate query execution and resource usage | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_alb_access_logs_location\"\u003e\u003c/a\u003e [alb\\_access\\_logs\\_location](#output\\_alb\\_access\\_logs\\_location) | Location in S3 where ALB access logs are stored |\n| \u003ca name=\"output_alb_connection_logs_location\"\u003e\u003c/a\u003e [alb\\_connection\\_logs\\_location](#output\\_alb\\_connection\\_logs\\_location) | Location in S3 where ALB connection logs are stored |\n| \u003ca name=\"output_alb_logs_bucket_name\"\u003e\u003c/a\u003e [alb\\_logs\\_bucket\\_name](#output\\_alb\\_logs\\_bucket\\_name) | S3 bucket name where ALB logs are retrieved |\n| \u003ca name=\"output_athena_workgroup_name\"\u003e\u003c/a\u003e [athena\\_workgroup\\_name](#output\\_athena\\_workgroup\\_name) | Name of the Athena Workgroup |\n| \u003ca name=\"output_glue_catalog_database_name\"\u003e\u003c/a\u003e [glue\\_catalog\\_database\\_name](#output\\_glue\\_catalog\\_database\\_name) | Name of the Glue catalog database |\n| \u003ca name=\"output_glue_table_names\"\u003e\u003c/a\u003e [glue\\_table\\_names](#output\\_glue\\_table\\_names) | Names of the Glue tables under the database |\n| \u003ca name=\"output_query_results_bucket_name\"\u003e\u003c/a\u003e [query\\_results\\_bucket\\_name](#output\\_query\\_results\\_bucket\\_name) | S3 bucket name where Athena query results are stored |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfraspecdev%2Fterraform-aws-athena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfraspecdev%2Fterraform-aws-athena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfraspecdev%2Fterraform-aws-athena/lists"}