Terraform root module documention
@@ -227,7 +216,7 @@ Talk to the forestkeepers in the `runners-channel` on Slack.
| [scale\_up\_reserved\_concurrent\_executions](#input\_scale\_up\_reserved\_concurrent\_executions) | Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | `number` | `1` | no |
| [ssm\_paths](#input\_ssm\_paths) | The root path used in SSM to store configuration and secrets. | object({
root = optional(string, "github-action-runners")
app = optional(string, "app")
runners = optional(string, "runners")
webhook = optional(string, "webhook")
use_prefix = optional(bool, true)
})
| `{}` | no |
| [state\_event\_rule\_binaries\_syncer](#input\_state\_event\_rule\_binaries\_syncer) | Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution | `string` | `"ENABLED"` | no |
-| [subnet\_ids](#input\_subnet\_ids) | List of subnets in which the action runner instances will be launched. The subnets need to exist in the configured VPC (`vpc_id`), and must reside in different availability zones (see https://github.com/philips-labs/terraform-aws-github-runner/issues/2904) | `list(string)` | n/a | yes |
+| [subnet\_ids](#input\_subnet\_ids) | List of subnets in which the action runner instances will be launched. The subnets need to exist in the configured VPC (`vpc_id`), and must reside in different availability zones (see https://github.com/github-aws-runners/terraform-aws-github-runner/issues/2904) | `list(string)` | n/a | yes |
| [syncer\_lambda\_s3\_key](#input\_syncer\_lambda\_s3\_key) | S3 key for syncer lambda function. Required if using an S3 bucket to specify lambdas. | `string` | `null` | no |
| [syncer\_lambda\_s3\_object\_version](#input\_syncer\_lambda\_s3\_object\_version) | S3 object version for syncer lambda function. Useful if S3 versioning is enabled on source bucket. | `string` | `null` | no |
| [tags](#input\_tags) | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. | `map(string)` | `{}` | no |
diff --git a/docs/configuration.md b/docs/configuration.md
index 7cb1c8007f..be0ea03975 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -10,7 +10,7 @@ To be able to support a number of use-cases, the module has quite a lot of confi
- Linux vs Windows. You can configure the OS types linux and win. Linux will be used by default.
- Re-use vs Ephemeral. By default runners are re-used, until detected idle. Once idle they will be removed from the pool. To improve security we are introducing ephemeral runners. Those runners are only used for one job. Ephemeral runners only work in combination with the workflow job event. For ephemeral runners the lambda requests a JIT (just in time) configuration via the GitHub API to register the runner. [JIT configuration](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-just-in-time-runners) is limited to ephemeral runners (and currently not supported by GHES). For non-ephemeral runners, a registration token is always requested. In both cases the configuration is made available to the instance via the same SSM parameter. To disable JIT configuration for ephemeral runners set `enable_jit_config` to `false`. We also suggest using a pre-build AMI to improve the start time of jobs for ephemeral runners.
- Job retry (**Beta**). By default the scale-up lambda will discard the message when it is handled. Meaning in the ephemeral use-case an instance is created. The created runner will ask GitHub for a job, no guarantee it will run the job for which it was scaling. Result could be that with small system hick-up the job is keeping waiting for a runner. Enable a pool (org runners) is one option to avoid this problem. Another option is to enable the job retry function. Which will retry the job after a delay for a configured number of times.
-- GitHub Cloud vs GitHub Enterprise Server (GHES). The runners support GitHub Cloud as well GitHub Enterprise Server. For GHES, we rely on our community for support and testing. We at Philips have no capability to test GHES ourselves.
+- GitHub Cloud vs GitHub Enterprise Server (GHES). The runners support GitHub Cloud as well GitHub Enterprise Server. For GHES, we rely on our community for support and testing. We have no capability to test GHES ourselves.
- Spot vs on-demand. The runners use either the EC2 spot or on-demand life cycle. Runners will be created via the AWS [CreateFleet API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html). The module (scale up lambda) will request via the CreateFleet API to create instances in one of the subnets and of the specified instance types.
- ARM64 support via Graviton/Graviton2 instance-types. When using the default example or top-level module, specifying `instance_types` that match a Graviton/Graviton 2 (ARM64) architecture (e.g. a1, t4g or any 6th-gen `g` or `gd` type), you must also specify `runner_architecture = "arm64"` and the sub-modules will be automatically configured to provision with ARM64 AMIs and leverage GitHub's ARM64 action runner. See below for more details.
- Disable default labels for the runners (os, architecture and `self-hosted`) can achieve by setting `runner_disable_default_labels` = true. If enabled, the runner will only have the extra labels provided in `runner_extra_labels`. In case you on own start script is used, this configuration parameter needs to be parsed via SSM.
@@ -270,7 +270,7 @@ Example to extend the EventBridge:
```hcl
module "runners" {
- source = "philips-labs/github-runners/aws"
+ source = "github-aws-runners/github-runners/aws"
...
eventbridge = {
diff --git a/docs/examples/index.md b/docs/examples/index.md
index ad7e7736c7..37b30bbd5e 100644
--- a/docs/examples/index.md
+++ b/docs/examples/index.md
@@ -1,6 +1,6 @@
# Examples
-Examples are located in the [examples](https://github.com/philips-labs/terraform-aws-github-runner/tree/main/examples) directory. The following examples are provided:
+Examples are located in the [examples](https://github.com/github-aws-runners/terraform-aws-github-runner/tree/main/examples) directory. The following examples are provided:
- _[Default](default.md)_: The default example of the module
- _[Ephemeral](ephemeral.md)_: Example usages of ephemeral runners based on the default example.
diff --git a/docs/getting-started.md b/docs/getting-started.md
index f13c84764f..cfd8f7b88b 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -51,7 +51,7 @@ To apply the terraform module, the compiled lambdas (.zip files) need to be avai
To read the files from S3, set the `lambda_s3_bucket` variable and the specific object key for each lambda.
-The lambdas can be downloaded manually from the [release page](https://github.com/philips-labs/terraform-aws-github-runner/releases) or using the [download-lambda](modules/public/download-lambda.md) terraform module (requires `curl` to be installed on your machine). In the `download-lambda` directory, run `terraform init && terraform apply`. The lambdas will be saved to the same directory.
+The lambdas can be downloaded manually from the [release page](https://github.com/github-aws-runners/terraform-aws-github-runner/releases) or using the [download-lambda](modules/public/download-lambda.md) terraform module (requires `curl` to be installed on your machine). In the `download-lambda` directory, run `terraform init && terraform apply`. The lambdas will be saved to the same directory.
For local development you can build all the lambdas at once using `.ci/build.sh` or individually using `yarn dist`.
@@ -73,7 +73,7 @@ Note that `github_app.key_base64` needs to be a base64-encoded string of the `.p
```hcl
module "github-runner" {
- source = "philips-labs/github-runner/aws"
+ source = "github-aws-runners/github-runner/aws"
version = "REPLACE_WITH_VERSION"
aws_region = "eu-west-1"
diff --git a/examples/default/README.md b/examples/default/README.md
index 86effbb29f..771b2c7bab 100644
--- a/examples/default/README.md
+++ b/examples/default/README.md
@@ -4,9 +4,9 @@ This module shows how to create GitHub action runners. Lambda release will be do
## Usages
-Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](https://github.com/philips-labs/terraform-aws-github-runner). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
+Steps for the full setup, such as creating a GitHub app can be found in the root module's [README](https://github.com/github-aws-runners/terraform-aws-github-runner). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
-> The default example assumes local built lambda's available. Ensure you have built the lambda's. Alternativly you can downlowd the lambda's. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
+> The default example assumes local built lambda's available. Ensure you have built the lambda's. Alternativly you can downlowd the lambda's. The version needs to be set to a GitHub release version, see https://github.com/github-aws-runners/terraform-aws-github-runner/releases
```bash
cd ../lambdas-download
@@ -15,7 +15,7 @@ terraform apply -var=module_version=
cd -
```
-Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://github.com/philips-labs/terraform-aws-github-runner#usages) for more details.
+Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://github.com/github-aws-runners/terraform-aws-github-runner#usages) for more details.
```bash
terraform init
diff --git a/examples/ephemeral/README.md b/examples/ephemeral/README.md
index f2b0545be4..b7b4202d83 100644
--- a/examples/ephemeral/README.md
+++ b/examples/ephemeral/README.md
@@ -3,9 +3,9 @@
This example is based on the default setup, but shows how runners can be used with the ephemeral flag enabled. Once enabled, ephemeral runners will be used for one job only. Each job requires a fresh instance. This feature should be used in combination with the `workflow_job` event. See GitHub webhook endpoint configuration(link needed here). It is also suggested to use a pre-build AMI to minimize runner launch times.
## Usages
-Steps for the full setup, such as creating a GitHub app can be found the [docs](https://philips-labs.github.io/terraform-aws-github-runner/getting-started/). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
+Steps for the full setup, such as creating a GitHub app can be found the [docs](https://github-aws-runners.github.io/terraform-aws-github-runner/getting-started/). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
-> Ensure you have set the version in `lambdas-download/main.tf` for running the example. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
+> Ensure you have set the version in `lambdas-download/main.tf` for running the example. The version needs to be set to a GitHub release version, see https://github.com/github-aws-runners/terraform-aws-github-runner/releases
```bash
cd lambdas-download
@@ -14,7 +14,7 @@ terraform apply
cd ..
```
-Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://philips-labs.github.io/terraform-aws-github-runner/configuration/#ephemeral-runners) for more details.
+Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://github-aws-runners.github.io/terraform-aws-github-runner/configuration/#ephemeral-runners) for more details.
```bash
terraform init
diff --git a/examples/ephemeral/main.tf b/examples/ephemeral/main.tf
index d879b2147a..25a79fb718 100644
--- a/examples/ephemeral/main.tf
+++ b/examples/ephemeral/main.tf
@@ -63,7 +63,7 @@ module "runners" {
enable_ephemeral_runners = true
# # Example of simple pool usages
- # pool_runner_owner = "philips-test-runners"
+ # pool_runner_owner = "YOUR_ORG"
# pool_config = [{
# size = 3
# schedule_expression = "cron(0/3 14 * * ? *)" # every 3 minutes between 14:00 and 15:00
diff --git a/examples/multi-runner/README.md b/examples/multi-runner/README.md
index f253653831..70b2220f89 100644
--- a/examples/multi-runner/README.md
+++ b/examples/multi-runner/README.md
@@ -21,9 +21,9 @@ Per combination of OS and architecture a lambda distribution syncer will be crea
## Usages
-Steps for the full setup, such as creating a GitHub app can be found the [docs](https://philips-labs.github.io/terraform-aws-github-runner/). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
+Steps for the full setup, such as creating a GitHub app can be found the [docs](https://github-aws-runners.github.io/terraform-aws-github-runner/). First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in `/.ci/build.sh`. In the `main.tf` you can simply remove the location of the lambda zip files, the default location will work in this case.
-> The default example assumes local built lambda's available. Ensure you have built the lambda's. Alternativly you can downlowd the lambda's. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
+> The default example assumes local built lambda's available. Ensure you have built the lambda's. Alternativly you can downlowd the lambda's. The version needs to be set to a GitHub release version, see https://github.com/github-aws-runners/terraform-aws-github-runner/releases
```bash
cd ../lambdas-download
@@ -33,7 +33,7 @@ cd -
```
-Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://philips-labs.github.io/terraform-aws-github-runner/configuration/) for more details.
+Before running Terraform, ensure the GitHub app is configured. See the [configuration details](https://github-aws-runners.github.io/terraform-aws-github-runner/configuration/) for more details.
```bash
terraform init
diff --git a/images/README.md b/images/README.md
index d3599710ae..689f3e2df5 100644
--- a/images/README.md
+++ b/images/README.md
@@ -8,7 +8,7 @@ These images share the same scripting as used in the user-data mechanism in `/mo
The examples in `linux-al2023` and `windows-core-2019` also upload a `start-runner` script that uses the exact same startup process as used in the user-data mechanism. This means that the image created here does not need any extra scripts injected or changes to boot up and connect to GH.
-To remove old images the [AMI house keeper module](https://philips-labs.github.io/terraform-aws-github-runner/modules/public/ami-housekeeper/) can be used.
+To remove old images the [AMI house keeper module](https://github-aws-runners.github.io/terraform-aws-github-runner/modules/public/ami-housekeeper/) can be used.
## Building your own
diff --git a/lambdas/functions/control-plane/src/scale-runners/job-retry.test.ts b/lambdas/functions/control-plane/src/scale-runners/job-retry.test.ts
index 341569639c..8d060459cc 100644
--- a/lambdas/functions/control-plane/src/scale-runners/job-retry.test.ts
+++ b/lambdas/functions/control-plane/src/scale-runners/job-retry.test.ts
@@ -74,7 +74,7 @@ describe('Test job retry publish message', () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
retryCounter: input.retryCounter,
};
@@ -112,7 +112,7 @@ describe('Test job retry publish message', () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
};
@@ -136,7 +136,7 @@ describe(`Test job retry check`, () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
retryCounter: 0,
};
@@ -171,7 +171,7 @@ describe(`Test job retry check`, () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
retryCounter: 1,
};
@@ -213,7 +213,7 @@ describe(`Test job retry check`, () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
retryCounter: 0,
};
@@ -242,7 +242,7 @@ describe(`Test job retry check`, () => {
id: 0,
installationId: 0,
repositoryName: 'test',
- repositoryOwner: 'philips-labs',
+ repositoryOwner: 'github-aws-runners',
repoOwnerType: 'Organization',
retryCounter: 0,
};
diff --git a/lambdas/functions/webhook/src/runners/dispatch.test.ts b/lambdas/functions/webhook/src/runners/dispatch.test.ts
index 3b6107ca79..d0f83f576f 100644
--- a/lambdas/functions/webhook/src/runners/dispatch.test.ts
+++ b/lambdas/functions/webhook/src/runners/dispatch.test.ts
@@ -58,7 +58,7 @@ describe('Dispatcher', () => {
});
it('should handle workflow_job events without installation id', async () => {
- config = await createConfig(['philips-labs/terraform-aws-github-runner']);
+ config = await createConfig(['github-aws-runners/terraform-aws-github-runner']);
const event = { ...workFlowJobEvent, installation: null } as unknown as WorkflowJobEvent;
const resp = await dispatch(event, 'workflow_job', config);
expect(resp.statusCode).toBe(201);
@@ -66,7 +66,7 @@ describe('Dispatcher', () => {
});
it('should handle workflow_job events from allow listed repositories', async () => {
- config = await createConfig(['philips-labs/terraform-aws-github-runner']);
+ config = await createConfig(['github-aws-runners/terraform-aws-github-runner']);
const event = workFlowJobEvent as unknown as WorkflowJobEvent;
const resp = await dispatch(event, 'workflow_job', config);
expect(resp.statusCode).toBe(201);
diff --git a/lambdas/functions/webhook/test/resources/github_workflowjob_event.json b/lambdas/functions/webhook/test/resources/github_workflowjob_event.json
index 9f2d5bea24..afaf7f2f3f 100644
--- a/lambdas/functions/webhook/test/resources/github_workflowjob_event.json
+++ b/lambdas/functions/webhook/test/resources/github_workflowjob_event.json
@@ -3,18 +3,18 @@
"workflow_job": {
"id": 3169272040,
"run_id": 1068820843,
- "run_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/actions/runs/1068820843",
+ "run_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/actions/runs/1068820843",
"node_id": "MDg6Q2hlY2tSdW4zMTY5MjcyMDQw",
"head_sha": "3a8defcc0a6acc14b4839aec403eb3eca05069f8",
- "url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/actions/jobs/3169272040",
- "html_url": "https://github.com/philips-labs/terraform-aws-github-runner/runs/3169272040",
+ "url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/actions/jobs/3169272040",
+ "html_url": "https://github.com/github-aws-runners/terraform-aws-github-runner/runs/3169272040",
"status": "queued",
"conclusion": null,
"started_at": "2021-07-27T07:33:38Z",
"completed_at": null,
"name": "build",
"steps": [],
- "check_run_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/check-runs/3169272040",
+ "check_run_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/check-runs/3169272040",
"labels": [
"self-hosted"
]
@@ -23,75 +23,75 @@
"id": 258465213,
"node_id": "MDEwOlJlcG9zaXRvcnkyNTg0NjUyMTM=",
"name": "terraform-aws-github-runner",
- "full_name": "philips-labs/terraform-aws-github-runner",
+ "full_name": "github-aws-runners/terraform-aws-github-runner",
"private": false,
"owner": {
- "login": "philips-labs",
+ "login": "github-aws-runners",
"id": 58286953,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4Mjg2OTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/58286953?v=4",
"gravatar_id": "",
- "url": "https://api.github.com/users/philips-labs",
- "html_url": "https://github.com/philips-labs",
- "followers_url": "https://api.github.com/users/philips-labs/followers",
- "following_url": "https://api.github.com/users/philips-labs/following{/other_user}",
- "gists_url": "https://api.github.com/users/philips-labs/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/philips-labs/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/philips-labs/subscriptions",
- "organizations_url": "https://api.github.com/users/philips-labs/orgs",
- "repos_url": "https://api.github.com/users/philips-labs/repos",
- "events_url": "https://api.github.com/users/philips-labs/events{/privacy}",
- "received_events_url": "https://api.github.com/users/philips-labs/received_events",
+ "url": "https://api.github.com/users/github-aws-runners",
+ "html_url": "https://github.com/github-aws-runners",
+ "followers_url": "https://api.github.com/users/github-aws-runners/followers",
+ "following_url": "https://api.github.com/users/github-aws-runners/following{/other_user}",
+ "gists_url": "https://api.github.com/users/github-aws-runners/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/github-aws-runners/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/github-aws-runners/subscriptions",
+ "organizations_url": "https://api.github.com/users/github-aws-runners/orgs",
+ "repos_url": "https://api.github.com/users/github-aws-runners/repos",
+ "events_url": "https://api.github.com/users/github-aws-runners/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/github-aws-runners/received_events",
"type": "Organization",
"site_admin": false
},
- "html_url": "https://github.com/philips-labs/terraform-aws-github-runner",
+ "html_url": "https://github.com/github-aws-runners/terraform-aws-github-runner",
"description": "Terraform module for scalable GitHub action runners on AWS",
"fork": false,
- "url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner",
- "forks_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/forks",
- "keys_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/keys{/key_id}",
- "collaborators_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/collaborators{/collaborator}",
- "teams_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/teams",
- "hooks_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/hooks",
- "issue_events_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/issues/events{/number}",
- "events_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/events",
- "assignees_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/assignees{/user}",
- "branches_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/branches{/branch}",
- "tags_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/tags",
- "blobs_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/git/blobs{/sha}",
- "git_tags_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/git/tags{/sha}",
- "git_refs_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/git/refs{/sha}",
- "trees_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/git/trees{/sha}",
- "statuses_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/statuses/{sha}",
- "languages_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/languages",
- "stargazers_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/stargazers",
- "contributors_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/contributors",
- "subscribers_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/subscribers",
- "subscription_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/subscription",
- "commits_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/commits{/sha}",
- "git_commits_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/git/commits{/sha}",
- "comments_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/comments{/number}",
- "issue_comment_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/issues/comments{/number}",
- "contents_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/contents/{+path}",
- "compare_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/compare/{base}...{head}",
- "merges_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/merges",
- "archive_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/{archive_format}{/ref}",
- "downloads_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/downloads",
- "issues_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/issues{/number}",
- "pulls_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/pulls{/number}",
- "milestones_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/notifications{?since,all,participating}",
- "labels_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/labels{/name}",
- "releases_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/releases{/id}",
- "deployments_url": "https://api.github.com/repos/philips-labs/terraform-aws-github-runner/deployments",
+ "url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner",
+ "forks_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/forks",
+ "keys_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/teams",
+ "hooks_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/hooks",
+ "issue_events_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/events",
+ "assignees_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/tags",
+ "blobs_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/languages",
+ "stargazers_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/stargazers",
+ "contributors_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/contributors",
+ "subscribers_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/subscribers",
+ "subscription_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/subscription",
+ "commits_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/merges",
+ "archive_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/downloads",
+ "issues_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/labels{/name}",
+ "releases_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/github-aws-runners/terraform-aws-github-runner/deployments",
"created_at": "2020-04-24T09:22:03Z",
"updated_at": "2021-07-27T03:01:34Z",
"pushed_at": "2021-07-26T21:03:40Z",
- "git_url": "git://github.com/philips-labs/terraform-aws-github-runner.git",
- "ssh_url": "git@github.com:philips-labs/terraform-aws-github-runner.git",
- "clone_url": "https://github.com/philips-labs/terraform-aws-github-runner.git",
- "svn_url": "https://github.com/philips-labs/terraform-aws-github-runner",
+ "git_url": "git://github.com/github-aws-runners/terraform-aws-github-runner.git",
+ "ssh_url": "git@github.com:github-aws-runners/terraform-aws-github-runner.git",
+ "clone_url": "https://github.com/github-aws-runners/terraform-aws-github-runner.git",
+ "svn_url": "https://github.com/github-aws-runners/terraform-aws-github-runner",
"homepage": "",
"size": 4732,
"stargazers_count": 486,
@@ -120,30 +120,18 @@
"default_branch": "develop"
},
"organization": {
- "login": "philips-labs",
+ "login": "github-aws-runners",
"id": 58286953,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU4Mjg2OTUz",
- "url": "https://api.github.com/orgs/philips-labs",
- "repos_url": "https://api.github.com/orgs/philips-labs/repos",
- "events_url": "https://api.github.com/orgs/philips-labs/events",
- "hooks_url": "https://api.github.com/orgs/philips-labs/hooks",
- "issues_url": "https://api.github.com/orgs/philips-labs/issues",
- "members_url": "https://api.github.com/orgs/philips-labs/members{/member}",
- "public_members_url": "https://api.github.com/orgs/philips-labs/public_members{/member}",
+ "url": "https://api.github.com/orgs/github-aws-runners",
+ "repos_url": "https://api.github.com/orgs/github-aws-runners/repos",
+ "events_url": "https://api.github.com/orgs/github-aws-runners/events",
+ "hooks_url": "https://api.github.com/orgs/github-aws-runners/hooks",
+ "issues_url": "https://api.github.com/orgs/github-aws-runners/issues",
+ "members_url": "https://api.github.com/orgs/github-aws-runners/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github-aws-runners/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/58286953?v=4",
- "description": "Philips Labs - Projects in development"
- },
- "enterprise": {
- "id": 1244,
- "slug": "royal-philips",
- "name": "Royal Philips",
- "node_id": "MDEwOkVudGVycHJpc2UxMjQ0",
- "avatar_url": "https://avatars.githubusercontent.com/b/1244?v=4",
- "description": "",
- "website_url": "https://www.philips.com",
- "html_url": "https://github.com/enterprises/royal-philips",
- "created_at": "2019-11-07T05:37:39Z",
- "updated_at": "2020-12-16T12:30:18Z"
+ "description": "Projects in development"
},
"sender": {
"login": "dependabot[bot]",
@@ -165,4 +153,4 @@
"type": "Bot",
"site_admin": false
}
-}
\ No newline at end of file
+}
diff --git a/mkdocs.yaml b/mkdocs.yaml
index a0c623efa6..1fe9cb301f 100644
--- a/mkdocs.yaml
+++ b/mkdocs.yaml
@@ -1,7 +1,7 @@
site_name: GitHub Runners on AWS
-repo_name: philips-labs/terraform-aws-github-runner
-repo_url: https://github.com/philips-labs/terraform-aws-github-runner
+repo_name: github-aws-runners/terraform-aws-github-runner
+repo_url: https://github.com/github-aws-runners/terraform-aws-github-runner
edit_uri: edit/main/docs/
use_directory_urls: true
@@ -36,7 +36,7 @@ extra:
deprecated: Deprecated
social:
- icon: fontawesome/brands/github
- link: https://github.com/philips-labs/terraform-aws-github-runner
+ link: https://github.com/github-aws-runners/terraform-aws-github-runner
markdown_extensions:
diff --git a/modules/ami-housekeeper/README.md b/modules/ami-housekeeper/README.md
index 5ce4469853..ba886b8022 100644
--- a/modules/ami-housekeeper/README.md
+++ b/modules/ami-housekeeper/README.md
@@ -36,7 +36,7 @@ module "ami_housekeeper" {
## Lambda Function
-The Lambda function is written in [TypeScript](https://www.typescriptlang.org/) and requires Node and yarn. Sources are located in [https://github.com/philips-labs/terraform-aws-github-runner/tree/main/lambdas].
+The Lambda function is written in [TypeScript](https://www.typescriptlang.org/) and requires Node and yarn. Sources are located in [https://github.com/github-aws-runners/terraform-aws-github-runner/tree/main/lambdas].
### Install
diff --git a/modules/download-lambda/main.tf b/modules/download-lambda/main.tf
index 52af298871..90d71ec530 100644
--- a/modules/download-lambda/main.tf
+++ b/modules/download-lambda/main.tf
@@ -8,6 +8,6 @@ resource "null_resource" "download" {
}
provisioner "local-exec" {
- command = "curl -o ${self.triggers.file} -fL https://github.com/philips-labs/terraform-aws-github-runner/releases/download/${self.triggers.tag}/${self.triggers.name}.zip"
+ command = "curl -o ${self.triggers.file} -fL https://github.com/github-aws-runners/terraform-aws-github-runner/releases/download/${self.triggers.tag}/${self.triggers.name}.zip"
}
}
diff --git a/modules/multi-runner/README.md b/modules/multi-runner/README.md
index cfa1484f4b..5eca0b57e3 100644
--- a/modules/multi-runner/README.md
+++ b/modules/multi-runner/README.md
@@ -4,12 +4,12 @@
This module creates many runners with a single GitHub app. The module utilizes the internal modules and deploys parts of the stack for each runner defined.
-The module takes a configuration as input containing a matcher for the labels. The [webhook](https://philips-labs.github.io/terraform-aws-github-runner/modules/internal/webhook/) lambda is using the configuration to delegate events based on the labels in the workflow job and sent them to a dedicated queue based on the configuration. Events on each queue are processed by a dedicated lambda per configuration to scale runners.
+The module takes a configuration as input containing a matcher for the labels. The [webhook](https://github-aws-runners.github.io/terraform-aws-github-runner/modules/internal/webhook/) lambda is using the configuration to delegate events based on the labels in the workflow job and sent them to a dedicated queue based on the configuration. Events on each queue are processed by a dedicated lambda per configuration to scale runners.
For each configuration:
-- When enabled, the [distribution syncer](https://philips-labs.github.io/terraform-aws-github-runner/modules/internal/runner-binaries-syncer/) is deployed for each unique combination of OS and architecture.
-- For each configuration a queue is created and [runner module](https://philips-labs.github.io/terraform-aws-github-runner/modules/internal/runners/) is deployed
+- When enabled, the [distribution syncer](https://github-aws-runners.github.io/terraform-aws-github-runner/modules/internal/runner-binaries-syncer/) is deployed for each unique combination of OS and architecture.
+- For each configuration a queue is created and [runner module](https://github-aws-runners.github.io/terraform-aws-github-runner/modules/internal/runners/) is deployed
## Matching
@@ -26,7 +26,7 @@ Jobs not defining all all labels but for example only `[self-hosted, linux]` cou
## Usages
-A complete example is available in the examples, see the [multi-runner example](https://philips-labs.github.io/terraform-aws-github-runner/examples/) for actual implementation.
+A complete example is available in the examples, see the [multi-runner example](https://github-aws-runners.github.io/terraform-aws-github-runner/examples/) for actual implementation.
```hcl
diff --git a/modules/runners/templates/start-runner.ps1 b/modules/runners/templates/start-runner.ps1
index 4b52fda079..1ced28dcba 100644
--- a/modules/runners/templates/start-runner.ps1
+++ b/modules/runners/templates/start-runner.ps1
@@ -109,7 +109,7 @@ foreach ($group in @("Administrators", "docker-users")) {
}
# Disable User Access Control (UAC)
-# TODO investigate if this is needed or if its overkill - https://github.com/philips-labs/terraform-aws-github-runner/issues/1505
+# TODO investigate if this is needed or if its overkill - https://github.com/github-aws-runners/terraform-aws-github-runner/issues/1505
Set-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0 -Force
Write-Host "Disabled User Access Control (UAC)"
diff --git a/modules/setup-iam-permissions/README.md b/modules/setup-iam-permissions/README.md
index b8a6a4a893..91be784db0 100644
--- a/modules/setup-iam-permissions/README.md
+++ b/modules/setup-iam-permissions/README.md
@@ -6,7 +6,7 @@ This module will create an AWS IAM role that is required to use permission bound
## Usages
-See below or check out [this example](https://philips-labs.github.io/terraform-aws-github-runner/examples/permissions-boundary/)
+See below or check out [this example](https://github-aws-runners.github.io/terraform-aws-github-runner/examples/permissions-boundary/)
Create a workspace and add the following terraform code.
```hcl
@@ -81,21 +81,3 @@ No modules.
| [boundary](#output\_boundary) | n/a |
| [role](#output\_role) | n/a |
-
-## Philips Forest
-
-This module is part of the Philips Forest.
-
-```plain
- ___ _
- / __\__ _ __ ___ ___| |_
- / _\/ _ \| '__/ _ \/ __| __|
- / / | (_) | | | __/\__ \ |_
- \/ \___/|_| \___||___/\__|
-
- Infrastructure
-```
-
-Talk to the forestkeepers in the `forest`-channel on Slack.
-
-[](https://philips-software-slackin.now.sh)
diff --git a/modules/termination-watcher/README.md b/modules/termination-watcher/README.md
index 911ca899e8..0e1648e154 100644
--- a/modules/termination-watcher/README.md
+++ b/modules/termination-watcher/README.md
@@ -30,7 +30,7 @@ module "termination_watcher" {
## Development
-The Lambda function is written in [TypeScript](https://www.typescriptlang.org/) and requires Node and yarn. Sources are located in [https://github.com/philips-labs/terraform-aws-github-runner/tree/main/lambdas].
+The Lambda function is written in [TypeScript](https://www.typescriptlang.org/) and requires Node and yarn. Sources are located in [https://github.com/github-aws-runners/terraform-aws-github-runner/tree/main/lambdas].
### Install
diff --git a/variables.tf b/variables.tf
index 80ec5ce303..5c57606edf 100644
--- a/variables.tf
+++ b/variables.tf
@@ -9,7 +9,7 @@ variable "vpc_id" {
}
variable "subnet_ids" {
- description = "List of subnets in which the action runner instances will be launched. The subnets need to exist in the configured VPC (`vpc_id`), and must reside in different availability zones (see https://github.com/philips-labs/terraform-aws-github-runner/issues/2904)"
+ description = "List of subnets in which the action runner instances will be launched. The subnets need to exist in the configured VPC (`vpc_id`), and must reside in different availability zones (see https://github.com/github-aws-runners/terraform-aws-github-runner/issues/2904)"
type = list(string)
}