{"id":22351453,"url":"https://github.com/garysassano/cdktf-aws-codebuild-github-runners-organization","last_synced_at":"2025-06-11T23:33:12.562Z","repository":{"id":249503482,"uuid":"818009696","full_name":"garysassano/cdktf-aws-codebuild-github-runners-organization","owner":"garysassano","description":"CDKTF app that deploys a GitHub repository within an organization, along with an organization webhook that triggers self-hosted runners in AWS CodeBuild when workflow jobs are queued","archived":false,"fork":false,"pushed_at":"2025-03-01T04:17:41.000Z","size":139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T05:20:10.991Z","etag":null,"topics":["aws","aws-codebuild","cdk-for-terraform","cdktf","codebuild","github-actions","github-runners","github-webhooks","self-hosted-runners","terraform-cdk","webhooks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/garysassano.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":"2024-06-20T23:00:01.000Z","updated_at":"2025-03-01T04:17:44.000Z","dependencies_parsed_at":"2024-12-24T02:27:38.714Z","dependency_job_id":"c2bd3df1-9a1c-4fbf-9740-1892a7629a53","html_url":"https://github.com/garysassano/cdktf-aws-codebuild-github-runners-organization","commit_stats":null,"previous_names":["garysassano/cdktf-aws-codebuild-github-runners-organization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-github-runners-organization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-github-runners-organization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-github-runners-organization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-github-runners-organization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garysassano","download_url":"https://codeload.github.com/garysassano/cdktf-aws-codebuild-github-runners-organization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650493,"owners_count":20650105,"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":["aws","aws-codebuild","cdk-for-terraform","cdktf","codebuild","github-actions","github-runners","github-webhooks","self-hosted-runners","terraform-cdk","webhooks"],"created_at":"2024-12-04T12:14:01.434Z","updated_at":"2025-06-11T23:33:12.547Z","avatar_url":"https://github.com/garysassano.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdktf-aws-codebuild-github-runners-organization\n\nCDKTF app  that deploys a GitHub repository within an organization, along with an organization webhook that triggers [self-hosted runners in AWS CodeBuild](https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html) when workflow jobs are queued.\n\n### Related Apps\n\n- [cdktf-aws-codebuild-github-runners](https://github.com/garysassano/cdktf-aws-codebuild-github-runners) - Uses a GitHub repository webhook instead of organization webhook.\n- [cdk-aws-codebuild-github-runners](https://github.com/garysassano/cdk-aws-codebuild-github-runners) - Uses a GitHub repository webhook instead of organization webhook; built with AWS CDK instead of CDKTF.\n\n## Prerequisites\n\n- **_AWS:_**\n  - Must have authenticated with [Default Credentials](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration) in your local environment.\n- **_GitHub:_**\n  - Must have set the `GITHUB_TOKEN` and `GITHUB_OWNER` variables in your local environment.\n- **_Terraform:_**\n  - Must be [installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) in your system.\n- **_Node.js + npm:_**\n  - Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.\n\n## Installation\n\n```sh\nnpx projen install\n```\n\n## Deployment\n\n```sh\nnpx projen deploy\n```\n\n## Usage\n\n1. Access the GitHub Actions workflow by clicking the `\u003cGHA_WORKFLOW_URL\u003e` from the deployment outputs:\n\n   ```sh\n   Outputs:\n   GhaWorkflowUrl = \u003cGHA_WORKFLOW_URL\u003e\n   ```\n\n2. Click `Run workflow` ➜ `Run workflow`.\n\n3. Your workflow will be enqueued and run on an ephemeral EC2 instance managed by AWS CodeBuild.\n\n## Cleanup\n\n```sh\nnpx projen destroy\n```\n\n## Architecture Diagram\n\n![Architecture Diagram](./src/assets/arch-diagram.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarysassano%2Fcdktf-aws-codebuild-github-runners-organization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarysassano%2Fcdktf-aws-codebuild-github-runners-organization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarysassano%2Fcdktf-aws-codebuild-github-runners-organization/lists"}