{"id":31040165,"url":"https://github.com/garysassano/cdktf-aws-codebuild-gha-runners","last_synced_at":"2026-05-09T04:34:00.276Z","repository":{"id":245356156,"uuid":"804871639","full_name":"garysassano/cdktf-aws-codebuild-gha-runners","owner":"garysassano","description":"CDKTF app that deploys a GitHub repository in a personal account, along with a repository webhook that triggers CodeBuild-hosted GitHub Actions runners when workflow jobs are queued","archived":false,"fork":false,"pushed_at":"2025-08-12T04:07:45.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T06:21:15.660Z","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,"zenodo":null}},"created_at":"2024-05-23T12:39:53.000Z","updated_at":"2025-08-12T04:07:48.000Z","dependencies_parsed_at":"2024-06-21T18:28:51.050Z","dependency_job_id":"8ac947ca-35cc-44f7-be0e-921bc0112081","html_url":"https://github.com/garysassano/cdktf-aws-codebuild-gha-runners","commit_stats":null,"previous_names":["garysassano/cdktf-aws-codebuild-github-runners","garysassano/cdktf-aws-codebuild-gha-runners"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garysassano/cdktf-aws-codebuild-gha-runners","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-gha-runners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-gha-runners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-gha-runners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-gha-runners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garysassano","download_url":"https://codeload.github.com/garysassano/cdktf-aws-codebuild-gha-runners/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garysassano%2Fcdktf-aws-codebuild-gha-runners/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275076608,"owners_count":25401320,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","aws-codebuild","cdk-for-terraform","cdktf","codebuild","github-actions","github-runners","github-webhooks","self-hosted-runners","terraform-cdk","webhooks"],"created_at":"2025-09-14T08:13:17.689Z","updated_at":"2026-05-01T12:32:45.694Z","avatar_url":"https://github.com/garysassano.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdktf-aws-codebuild-gha-runners\n\nCDKTF app that deploys a GitHub repository in a personal account, along with a repository webhook that triggers [CodeBuild-hosted GitHub Actions runners](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-gha-runners-org](https://github.com/garysassano/cdktf-aws-codebuild-gha-runners-org) - Uses a GitHub organization webhook instead of repository webhook.\n- [cdk-aws-codebuild-gha-runners](https://github.com/garysassano/cdk-aws-codebuild-gha-runners) - 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` variable 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-gha-runners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarysassano%2Fcdktf-aws-codebuild-gha-runners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarysassano%2Fcdktf-aws-codebuild-gha-runners/lists"}