{"id":13623916,"url":"https://github.com/DNXLabs/terraform-aws-log-exporter","last_synced_at":"2025-04-15T20:32:42.722Z","repository":{"id":42353110,"uuid":"254770585","full_name":"DNXLabs/terraform-aws-log-exporter","owner":"DNXLabs","description":"This module creates a lambda function that exports log groups on the AWS account and region deployed.","archived":false,"fork":false,"pushed_at":"2024-08-06T10:13:23.000Z","size":40,"stargazers_count":29,"open_issues_count":6,"forks_count":23,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-08T12:42:39.401Z","etag":null,"topics":["cloudwatch","export","logs"],"latest_commit_sha":null,"homepage":"https://modules.dnx.one/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DNXLabs.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-11T01:33:18.000Z","updated_at":"2024-10-02T09:55:27.000Z","dependencies_parsed_at":"2024-08-01T21:44:16.000Z","dependency_job_id":"1d3bff20-b7a8-4bfc-b068-d9a5ca7d29c5","html_url":"https://github.com/DNXLabs/terraform-aws-log-exporter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNXLabs%2Fterraform-aws-log-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNXLabs%2Fterraform-aws-log-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNXLabs%2Fterraform-aws-log-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DNXLabs%2Fterraform-aws-log-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DNXLabs","download_url":"https://codeload.github.com/DNXLabs/terraform-aws-log-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249148180,"owners_count":21220494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cloudwatch","export","logs"],"created_at":"2024-08-01T21:01:36.934Z","updated_at":"2025-04-15T20:32:42.447Z","avatar_url":"https://github.com/DNXLabs.png","language":"HCL","funding_links":[],"categories":["HCL"],"sub_categories":[],"readme":"# terraform-aws-log-exporter\n\n[![Lint Status](https://github.com/DNXLabs/terraform-aws-log-exporter/workflows/Lint/badge.svg)](https://github.com/DNXLabs/terraform-aws-log-exporter/actions)\n[![LICENSE](https://img.shields.io/github/license/DNXLabs/terraform-aws-log-exporter)](https://github.com/DNXLabs/terraform-aws-log-exporter/blob/master/LICENSE)\n\nThis module creates a lambda function that exports log groups on the AWS account and region deployed(default every 4 hours).\n\nIt will only export each log group if it has the tag `ExportToS3=true`, if the last export was more than 24 hours ago it creates an export task to the `S3_BUCKET` defined saving the current timestamp in a SSM parameter.\n\nThis module creates:\n - A lambda function\n - A bucket to receive the logs\n - A Cloudwatch to export the logs\n\n\u003c!--- BEGIN_TF_DOCS ---\u003e\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.12.0 |\n| aws | \u003e= 4.61.0 |\n| random | \u003e= 3.4.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| archive | n/a |\n| aws | \u003e= 4.61.0 |\n| random | \u003e= 3.4.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| cloudwatch\\_logs\\_export\\_bucket | Bucket to export logs | `string` | `\"\"` | no |\n| runtime | Runtime version of the lambda function | `string` | `\"python3.10\"` | no |\n\n## Outputs\n\nNo output.\n\n\u003c!--- END_TF_DOCS ---\u003e\n\n## Authors\n\nModule managed by [DNX Solutions](https://github.com/DNXLabs).\n\n## License\n\nApache 2 Licensed. See [LICENSE](https://github.com/DNXLabs/terraform-aws-log-exporter/blob/master/LICENSE) for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDNXLabs%2Fterraform-aws-log-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDNXLabs%2Fterraform-aws-log-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDNXLabs%2Fterraform-aws-log-exporter/lists"}