Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 1c1adb2

Browse files
authored
docs: Typo's and clarifications (#3262)
1 parent 9387bee commit 1c1adb2

File tree

12 files changed

+119
-120
lines changed

12 files changed

+119
-120
lines changed

Diff for: README.md

+80-81
Large diffs are not rendered by default.

Diff for: examples/arm64/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can receive the webhook details by running:
2828
terraform output -raw webhook_secret
2929
```
3030

31-
Be-aware some shells will print some end of line character `%`.
31+
Be aware some shells will print some end of line character `%`.
3232

3333
<!-- BEGIN_TF_DOCS -->
3434
## Requirements
@@ -72,4 +72,4 @@ Be-aware some shells will print some end of line character `%`.
7272
| <a name="output_runners"></a> [runners](#output\_runners) | n/a |
7373
| <a name="output_webhook_endpoint"></a> [webhook\_endpoint](#output\_webhook\_endpoint) | n/a |
7474
| <a name="output_webhook_secret"></a> [webhook\_secret](#output\_webhook\_secret) | n/a |
75-
<!-- END_TF_DOCS -->
75+
<!-- END_TF_DOCS -->

Diff for: examples/default/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can receive the webhook details by running:
2828
terraform output -raw webhook_secret
2929
```
3030

31-
Be-aware some shells will print some end of line character `%`.
31+
Be aware some shells will print some end of line character `%`.
3232

3333
<!-- BEGIN_TF_DOCS -->
3434
## Requirements
@@ -73,4 +73,4 @@ Be-aware some shells will print some end of line character `%`.
7373
| <a name="output_runners"></a> [runners](#output\_runners) | n/a |
7474
| <a name="output_webhook_endpoint"></a> [webhook\_endpoint](#output\_webhook\_endpoint) | n/a |
7575
| <a name="output_webhook_secret"></a> [webhook\_secret](#output\_webhook\_secret) | n/a |
76-
<!-- END_TF_DOCS -->
76+
<!-- END_TF_DOCS -->

Diff for: examples/ephemeral/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can receive the webhook details by running:
2727
terraform output -raw webhook_secret
2828
```
2929

30-
Be-aware some shells will print some end of line character `%`.
30+
Be aware some shells will print some end of line character `%`.
3131
<!-- BEGIN_TF_DOCS -->
3232
## Requirements
3333

@@ -70,4 +70,4 @@ Be-aware some shells will print some end of line character `%`.
7070
| <a name="output_runners"></a> [runners](#output\_runners) | n/a |
7171
| <a name="output_webhook_endpoint"></a> [webhook\_endpoint](#output\_webhook\_endpoint) | n/a |
7272
| <a name="output_webhook_secret"></a> [webhook\_secret](#output\_webhook\_secret) | n/a |
73-
<!-- END_TF_DOCS -->
73+
<!-- END_TF_DOCS -->

Diff for: examples/multi-runner/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can receive the webhook details by running:
4545
terraform output -raw webhook_secret
4646
```
4747

48-
Be-aware some shells will print some end of line character `%`.
48+
Be aware some shells will print some end of line character `%`.
4949

5050
<!-- BEGIN_TF_DOCS -->
5151
## Requirements
@@ -89,4 +89,4 @@ Be-aware some shells will print some end of line character `%`.
8989
|------|-------------|
9090
| <a name="output_webhook_endpoint"></a> [webhook\_endpoint](#output\_webhook\_endpoint) | n/a |
9191
| <a name="output_webhook_secret"></a> [webhook\_secret](#output\_webhook\_secret) | n/a |
92-
<!-- END_TF_DOCS -->
92+
<!-- END_TF_DOCS -->

Diff for: examples/prebuilt/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You can receive the webhook details by running:
9292
terraform output -raw webhook_secret
9393
```
9494

95-
Be-aware some shells will print some end of line character `%`.
95+
Be aware some shells will print some end of line character `%`.
9696

9797
<!-- BEGIN_TF_DOCS -->
9898
## Requirements
@@ -139,4 +139,4 @@ Be-aware some shells will print some end of line character `%`.
139139
|------|-------------|
140140
| <a name="output_webhook_endpoint"></a> [webhook\_endpoint](#output\_webhook\_endpoint) | n/a |
141141
| <a name="output_webhook_secret"></a> [webhook\_secret](#output\_webhook\_secret) | n/a |
142-
<!-- END_TF_DOCS -->
142+
<!-- END_TF_DOCS -->

Diff for: modules/multi-runner/README.md

+1-1
Large diffs are not rendered by default.

Diff for: modules/multi-runner/variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ variable "multi_runner_config" {
135135
create_service_linked_role_spot: (Optional) create the serviced linked role for spot instances that is required by the scale-up lambda.
136136
credit_specification: "(Optional) The credit specification of the runner instance_type. Can be unset, `standard` or `unlimited`.
137137
delay_webhook_event: "The number of seconds the event accepted by the webhook is invisible on the queue before the scale up lambda will receive the event."
138-
disable_runner_autoupdate: "Disable the auto update of the github runner agent. Be-aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
138+
disable_runner_autoupdate: "Disable the auto update of the github runner agent. Be aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
139139
enable_ephemeral_runners: "Enable ephemeral runners, runners will only be used once."
140140
enable_job_queued_check: "Only scale if the job event received by the scale up lambda is is in the state queued. By default enabled for non ephemeral runners and disabled for ephemeral. Set this variable to overwrite the default behavior." = optional(bool, null)
141141
enable_organization_runners: "Register runners to organization, instead of repo level"
@@ -256,7 +256,7 @@ variable "webhook_lambda_apigateway_access_log_settings" {
256256
}
257257

258258
variable "repository_white_list" {
259-
description = "List of repositories allowed to use the github app"
259+
description = "List of github repository full names (owner/repo_name) that will be allowed to use the github app. Leave empty for no filtering."
260260
type = list(string)
261261
default = []
262262
}

Diff for: modules/runners/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ yarn run dist
133133
| <a name="input_cloudwatch_config"></a> [cloudwatch\_config](#input\_cloudwatch\_config) | (optional) Replaces the module default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details. | `string` | `null` | no |
134134
| <a name="input_create_service_linked_role_spot"></a> [create\_service\_linked\_role\_spot](#input\_create\_service\_linked\_role\_spot) | (optional) create the service linked role for spot instances that is required by the scale-up lambda. | `bool` | `false` | no |
135135
| <a name="input_credit_specification"></a> [credit\_specification](#input\_credit\_specification) | The credit option for CPU usage of a T instance. Can be unset, "standard" or "unlimited". | `string` | `null` | no |
136-
| <a name="input_disable_runner_autoupdate"></a> [disable\_runner\_autoupdate](#input\_disable\_runner\_autoupdate) | Disable the auto update of the github runner agent. Be-aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/) | `bool` | `false` | no |
136+
| <a name="input_disable_runner_autoupdate"></a> [disable\_runner\_autoupdate](#input\_disable\_runner\_autoupdate) | Disable the auto update of the github runner agent. Be aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/) | `bool` | `false` | no |
137137
| <a name="input_egress_rules"></a> [egress\_rules](#input\_egress\_rules) | List of egress rules for the GitHub runner instances. | <pre>list(object({<br> cidr_blocks = list(string)<br> ipv6_cidr_blocks = list(string)<br> prefix_list_ids = list(string)<br> from_port = number<br> protocol = string<br> security_groups = list(string)<br> self = bool<br> to_port = number<br> description = string<br> }))</pre> | <pre>[<br> {<br> "cidr_blocks": [<br> "0.0.0.0/0"<br> ],<br> "description": null,<br> "from_port": 0,<br> "ipv6_cidr_blocks": [<br> "::/0"<br> ],<br> "prefix_list_ids": null,<br> "protocol": "-1",<br> "security_groups": null,<br> "self": null,<br> "to_port": 0<br> }<br>]</pre> | no |
138138
| <a name="input_enable_cloudwatch_agent"></a> [enable\_cloudwatch\_agent](#input\_enable\_cloudwatch\_agent) | Enabling the cloudwatch agent on the ec2 runner instances, the runner contains default config. Configuration can be overridden via `cloudwatch_config`. | `bool` | `true` | no |
139139
| <a name="input_enable_ephemeral_runners"></a> [enable\_ephemeral\_runners](#input\_enable\_ephemeral\_runners) | Enable ephemeral runners, runners will only be used once. | `bool` | `false` | no |
@@ -225,4 +225,4 @@ yarn run dist
225225
| <a name="output_role_scale_down"></a> [role\_scale\_down](#output\_role\_scale\_down) | n/a |
226226
| <a name="output_role_scale_up"></a> [role\_scale\_up](#output\_role\_scale\_up) | n/a |
227227
| <a name="output_runners_log_groups"></a> [runners\_log\_groups](#output\_runners\_log\_groups) | List of log groups from different log files of runner machine. |
228-
<!-- END_TF_DOCS -->
228+
<!-- END_TF_DOCS -->

Diff for: modules/runners/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ variable "pool_config" {
538538
}
539539

540540
variable "disable_runner_autoupdate" {
541-
description = "Disable the auto update of the github runner agent. Be-aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
541+
description = "Disable the auto update of the github runner agent. Be aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
542542
type = bool
543543
default = false
544544
}

Diff for: modules/webhook/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ variable "webhook_lambda_apigateway_access_log_settings" {
117117
}
118118

119119
variable "repository_white_list" {
120-
description = "List of repositories allowed to use the github app"
120+
description = "List of github repository full names (owner/repo_name) that will be allowed to use the github app. Leave empty for no filtering."
121121
type = list(string)
122122
default = []
123123
}

Diff for: variables.tf

+22-22
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variable "vpc_id" {
99
}
1010

1111
variable "subnet_ids" {
12-
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 on different availability zones (see https://github.com/philips-labs/terraform-aws-github-runner/issues/2904)"
12+
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)"
1313
type = list(string)
1414
}
1515

@@ -58,7 +58,7 @@ variable "scale_down_schedule_expression" {
5858
}
5959

6060
variable "minimum_running_time_in_minutes" {
61-
description = "The time an ec2 action runner should be running at minimum before terminated if not busy."
61+
description = "The time an ec2 action runner should be running at minimum before terminated, if not busy."
6262
type = number
6363
default = null
6464
}
@@ -245,7 +245,7 @@ variable "userdata_post_install" {
245245
}
246246

247247
variable "idle_config" {
248-
description = "List of time period that can be defined as cron expression to keep a minimum amount of runners active instead of scaling down to 0. By defining this list you can ensure that in time periods that match the cron expression within 5 seconds a runner is kept idle."
248+
description = "List of time periods, defined as a cron expression, to keep a minimum amount of runners active instead of scaling down to 0. By defining this list you can ensure that in time periods that match the cron expression within 5 seconds a runner is kept idle."
249249
type = list(object({
250250
cron = string
251251
timeZone = string
@@ -255,7 +255,7 @@ variable "idle_config" {
255255
}
256256

257257
variable "enable_ssm_on_runners" {
258-
description = "Enable to allow access the runner instances for debugging purposes via SSM. Note that this adds additional permissions to the runner instances."
258+
description = "Enable to allow access to the runner instances for debugging purposes via SSM. Note that this adds additional permissions to the runner instances."
259259
type = bool
260260
default = false
261261
}
@@ -267,7 +267,7 @@ variable "logging_retention_in_days" {
267267
}
268268

269269
variable "logging_kms_key_id" {
270-
description = "Specifies the kms key id to encrypt the logs with"
270+
description = "Specifies the kms key id to encrypt the logs with."
271271
type = string
272272
default = null
273273
}
@@ -332,7 +332,7 @@ variable "lambda_s3_bucket" {
332332
}
333333

334334
variable "syncer_lambda_s3_key" {
335-
description = "S3 key for syncer lambda function. Required if using S3 bucket to specify lambdas."
335+
description = "S3 key for syncer lambda function. Required if using an S3 bucket to specify lambdas."
336336
type = string
337337
default = null
338338
}
@@ -376,7 +376,7 @@ variable "runners_lambda_s3_object_version" {
376376
}
377377

378378
variable "create_service_linked_role_spot" {
379-
description = "(optional) create the serviced linked role for spot instances that is required by the scale-up lambda."
379+
description = "(optional) create the service linked role for spot instances that is required by the scale-up lambda."
380380
type = bool
381381
default = false
382382
}
@@ -388,13 +388,13 @@ variable "runner_iam_role_managed_policy_arns" {
388388
}
389389

390390
variable "enable_cloudwatch_agent" {
391-
description = "Enabling the cloudwatch agent on the ec2 runner instances, the runner contains default config. Configuration can be overridden via `cloudwatch_config`."
391+
description = "Enables the cloudwatch agent on the ec2 runner instances. The runner uses a default config that can be overridden via `cloudwatch_config`."
392392
type = bool
393393
default = true
394394
}
395395

396396
variable "cloudwatch_config" {
397-
description = "(optional) Replaces the module default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details."
397+
description = "(optional) Replaces the module's default cloudwatch log config. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html for details."
398398
type = string
399399
default = null
400400
}
@@ -441,7 +441,7 @@ variable "key_name" {
441441
}
442442

443443
variable "runner_additional_security_group_ids" {
444-
description = "(optional) List of additional security groups IDs to apply to the runner"
444+
description = "(optional) List of additional security groups IDs to apply to the runner."
445445
type = list(string)
446446
default = []
447447
}
@@ -457,7 +457,7 @@ variable "instance_target_capacity_type" {
457457
}
458458

459459
variable "instance_allocation_strategy" {
460-
description = "The allocation strategy for spot instances. AWS recommends to use `price-capacity-optimized` however the AWS default is `lowest-price`."
460+
description = "The allocation strategy for spot instances. AWS recommends using `price-capacity-optimized` however the AWS default is `lowest-price`."
461461
type = string
462462
default = "lowest-price"
463463
validation {
@@ -467,7 +467,7 @@ variable "instance_allocation_strategy" {
467467
}
468468

469469
variable "instance_max_spot_price" {
470-
description = "Max price price for spot intances per hour. This variable will be passed to the create fleet as max spot price for the fleet."
470+
description = "Max price price for spot instances per hour. This variable will be passed to the create fleet as max spot price for the fleet."
471471
type = string
472472
default = null
473473
}
@@ -479,7 +479,7 @@ variable "instance_types" {
479479
}
480480

481481
variable "repository_white_list" {
482-
description = "List of repositories allowed to use the github app"
482+
description = "List of github repository full names (owner/repo_name) that will be allowed to use the github app. Leave empty for no filtering."
483483
type = list(string)
484484
default = []
485485
}
@@ -490,7 +490,7 @@ variable "delay_webhook_event" {
490490
default = 30
491491
}
492492
variable "job_queue_retention_in_seconds" {
493-
description = "The number of seconds the job is held in the queue before it is purged"
493+
description = "The number of seconds the job is held in the queue before it is purged."
494494
type = number
495495
default = 86400
496496
}
@@ -578,13 +578,13 @@ variable "enable_ephemeral_runners" {
578578
}
579579

580580
variable "enable_job_queued_check" {
581-
description = "Only scale if the job event received by the scale up lambda is is in the state queued. By default enabled for non ephemeral runners and disabled for ephemeral. Set this variable to overwrite the default behavior."
581+
description = "Only scale if the job event received by the scale up lambda is in the queued state. By default enabled for non ephemeral runners and disabled for ephemeral. Set this variable to overwrite the default behavior."
582582
type = bool
583583
default = null
584584
}
585585

586586
variable "enable_managed_runner_security_group" {
587-
description = "Enabling the default managed security group creation. Unmanaged security groups can be specified via `runner_additional_security_group_ids`."
587+
description = "Enables creation of the default managed security group. Unmanaged security groups can be specified via `runner_additional_security_group_ids`."
588588
type = bool
589589
default = true
590590
}
@@ -610,7 +610,7 @@ variable "lambda_principals" {
610610
}
611611

612612
variable "enable_fifo_build_queue" {
613-
description = "Enable a FIFO queue to remain the order of events received by the webhook. Suggest to set to true for repo level runners."
613+
description = "Enable a FIFO queue to keep the order of events received by the webhook. Recommended for repo level runners."
614614
type = bool
615615
default = false
616616
}
@@ -660,7 +660,7 @@ variable "pool_lambda_reserved_concurrent_executions" {
660660
}
661661

662662
variable "pool_config" {
663-
description = "The configuration for updating the pool. The `pool_size` to adjust to by the events triggered by the `schedule_expression`. For example you can configure a cron expression for week days to adjust the pool to 10 and another expression for the weekend to adjust the pool to 1."
663+
description = "The configuration for updating the pool. The `pool_size` to adjust to by the events triggered by the `schedule_expression`. For example you can configure a cron expression for weekdays to adjust the pool to 10 and another expression for the weekend to adjust the pool to 1."
664664
type = list(object({
665665
schedule_expression = string
666666
size = number
@@ -675,7 +675,7 @@ variable "aws_partition" {
675675
}
676676

677677
variable "disable_runner_autoupdate" {
678-
description = "Disable the auto update of the github runner agent. Be-aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
678+
description = "Disable the auto update of the github runner agent. Be aware there is a grace period of 30 days, see also the [GitHub article](https://github.blog/changelog/2022-02-01-github-actions-self-hosted-runners-can-now-disable-automatic-updates/)"
679679
type = bool
680680
default = false
681681
}
@@ -697,7 +697,7 @@ variable "lambda_architecture" {
697697
}
698698

699699
variable "enable_workflow_job_events_queue" {
700-
description = "Enabling this experimental feature will create a secondory sqs queue to wich a copy of the workflow_job event will be delivered."
700+
description = "Enabling this experimental feature will create a secondory sqs queue to which a copy of the workflow_job event will be delivered."
701701
type = bool
702702
default = false
703703
}
@@ -724,7 +724,7 @@ variable "enable_runner_binaries_syncer" {
724724
variable "enable_event_rule_binaries_syncer" {
725725
type = bool
726726
default = true
727-
description = "Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution"
727+
description = "Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution."
728728
}
729729

730730
variable "queue_encryption" {
@@ -752,7 +752,7 @@ variable "enable_user_data_debug_logging_runner" {
752752
}
753753

754754
variable "ssm_paths" {
755-
description = "The root path used in SSM to store configuration and secreets."
755+
description = "The root path used in SSM to store configuration and secrets."
756756
type = object({
757757
root = optional(string, "github-action-runners")
758758
app = optional(string, "app")

0 commit comments

Comments
 (0)