{"id":17167921,"url":"https://github.com/akr4/codepipeline-slack","last_synced_at":"2026-04-30T18:31:32.771Z","repository":{"id":66425176,"uuid":"202972134","full_name":"akr4/codepipeline-slack","owner":"akr4","description":"Notify CodePipeline status changes such as STARTED, SUCCEEDED, FAILED, and so on to a Slack channel.","archived":false,"fork":false,"pushed_at":"2019-08-18T23:24:51.000Z","size":229,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T22:46:55.453Z","etag":null,"topics":["codepipeline","lambda","rust","terraform"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/akr4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-08-18T07:14:39.000Z","updated_at":"2025-02-23T12:05:49.000Z","dependencies_parsed_at":"2023-02-23T12:45:21.892Z","dependency_job_id":null,"html_url":"https://github.com/akr4/codepipeline-slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akr4/codepipeline-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akr4%2Fcodepipeline-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akr4%2Fcodepipeline-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akr4%2Fcodepipeline-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akr4%2Fcodepipeline-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akr4","download_url":"https://codeload.github.com/akr4/codepipeline-slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akr4%2Fcodepipeline-slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32473804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["codepipeline","lambda","rust","terraform"],"created_at":"2024-10-14T23:10:28.374Z","updated_at":"2026-04-30T18:31:32.754Z","avatar_url":"https://github.com/akr4.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codepipeline-slack\nNotify CodePipeline status changes such as STARTED, SUCCEEDED, FAILED, and so on to a Slack channel.\n\nThe repository includes a lambda function and a Terraform module, so it's easy to set up in your environment.\n\n\u003cimg src=\"https://raw.githubusercontent.com/akr4/codepipeline-slack/master/docs/screenshot.png\" alt=\"Example Slack messages\" width=\"393\"\u003e\n\n## Overview\n\n\u003cimg src=\"https://raw.githubusercontent.com/akr4/codepipeline-slack/master/docs/overview.png\" alt=\"Overview\" width=\"600\"\u003e\n\n## Prerequisite\n- Terraform 0.12\n- Docker\n\n## Set up\n1. Build the Lambda function\n2. Set up a Slack webhook URL to SSM parameter store\n3. Update your AWS environment with Terraform\n\n### Build the Lambda function\nThe following command builds the Lambda function in a Docker environment.\n```sh\ndocker run --rm -v ${PWD}:/code -v \\\n  ${HOME}/.cargo/registry:/root/.cargo/registry -v \\\n  ${HOME}/.cargo/git:/root/.cargo/git softprops/lambda-rust\n```\n\nThe zipped Lambda function will be at `./target/lambda/release/codepipeline-slack.zip`.\n\n### Set up a Slack webhook URL to SSM parameter store\nThe Lambda function looks for a Slack's webhook URL from SSM parameter store. The parameter name can be configured by a Terraform variable.\n\n\u003cdl\u003e\n  \u003cdt\u003ename\u003c/dt\u003e\n  \u003cdd\u003e/codepipeline-slack/webhook-url-ssm-param\u003c/dd\u003e\n  \u003cdt\u003evalue  (SecureString is recommended)\u003c/dt\u003e\n  \u003cdd\u003ehttps:....\u003c/dd\u003e\n\u003c/dl\u003e\n\n### Update your AWS environment with Terraform\nFirst, copy `terraform` directory to your Terraform directory. And then add a module block to your Terraform configuration file:\n```HCL\nmodule \"codepipeline-slack\" {\n  source                          = \"../modules/codepipeline-slack\"\n  slack_webhook_url_ssm_parameter = \"/codepipeline-slack/webhook-url-ssm-param\"\n  lambda_zip_file                 = \"lambda/codepipeline-slack.zip\"\n}\n```\n\n\u003cdl\u003e\n  \u003cdt\u003eslack_webhook_url_ssm_parameter\u003c/dt\u003e\n  \u003cdd\u003eThe SSM parameter name which is configured in the previous section\u003c/dd\u003e\n  \u003cdt\u003elambda_zip_file\u003c/dt\u003e\n  \u003cdd\u003ePath to the Lambda zip file\u003c/dd\u003e\n\u003c/dl\u003e\n\nNow you can apply the configuration by `terraform apply`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakr4%2Fcodepipeline-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakr4%2Fcodepipeline-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakr4%2Fcodepipeline-slack/lists"}