{"id":21502334,"url":"https://github.com/mrtcode/github-lambda-redis","last_synced_at":"2025-07-31T21:06:55.968Z","repository":{"id":76796109,"uuid":"96144655","full_name":"mrtcode/github-lambda-redis","owner":"mrtcode","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-04T06:32:59.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T23:32:13.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrtcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"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":"2017-07-03T19:37:17.000Z","updated_at":"2017-07-03T19:39:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d834df59-c213-4272-a7a3-5f8325d59728","html_url":"https://github.com/mrtcode/github-lambda-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Fgithub-lambda-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Fgithub-lambda-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Fgithub-lambda-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtcode%2Fgithub-lambda-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrtcode","download_url":"https://codeload.github.com/mrtcode/github-lambda-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244043493,"owners_count":20388591,"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":[],"created_at":"2024-11-23T18:14:34.002Z","updated_at":"2025-03-17T13:40:50.294Z","avatar_url":"https://github.com/mrtcode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-lambda-redis\n\nFollow [instructions](https://aws.amazon.com/blogs/compute/dynamic-github-actions-with-aws-lambda/)\nto configure GitHub, an SNS topic, and a Lambda function.\n\nAdditional configuration for the Lambda function:\n* Set runtime to Node.js 6 or higher.\n* Set timeout to 1 second.\n* Configure VPC (it will be needed to access Redis behind ElastiCache).\n\nUse the following IAM role:\n```\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"logs:CreateLogGroup\",\n                \"logs:CreateLogStream\",\n                \"logs:PutLogEvents\"\n            ],\n            \"Resource\": \"arn:aws:logs:*:*:*\"\n        },\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"ec2:CreateNetworkInterface\",\n                \"ec2:DescribeNetworkInterfaces\",\n                \"ec2:DeleteNetworkInterface\"\n            ],\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n\nInstall Node.js modules:\n```\nnpm install\n```\nSet Redis host in `config.js`.\n\nBuild and upload the Lambda function:\n```\n./update.sh \u003clambda_function_name\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtcode%2Fgithub-lambda-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrtcode%2Fgithub-lambda-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtcode%2Fgithub-lambda-redis/lists"}