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

Commit aaca516

Browse files
authored
docs: fix example in README (#2717)
This is a tiny documentation fix to use `prefix` rather than `environment`, per the changes in #1858.
1 parent ef08afb commit aaca516

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ module "github-runner" {
167167
vpc_id = "vpc-123"
168168
subnet_ids = ["subnet-123", "subnet-456"]
169169
170-
environment = "gh-ci"
170+
prefix = "gh-ci"
171171
172172
github_app = {
173173
key_base64 = "base64string"
@@ -439,7 +439,7 @@ We welcome any improvement to the standard module to make the default as secure
439439
| <a name="input_enable_ssm_on_runners"></a> [enable\_ssm\_on\_runners](#input\_enable\_ssm\_on\_runners) | Enable to allow access the runner instances for debugging purposes via SSM. Note that this adds additional permissions to the runner instances. | `bool` | `false` | no |
440440
| <a name="input_enable_user_data_debug_logging_runner"></a> [enable\_user\_data\_debug\_logging\_runner](#input\_enable\_user\_data\_debug\_logging\_runner) | Option to enable debug logging for user-data, this logs all secrets as well. | `bool` | `false` | no |
441441
| <a name="input_enabled_userdata"></a> [enabled\_userdata](#input\_enabled\_userdata) | Should the userdata script be enabled for the runner. Set this to false if you are using your own prebuilt AMI. | `bool` | `true` | no |
442-
| <a name="input_environment"></a> [environment](#input\_environment) | A name that identifies the environment, used as prefix and for tagging. | `string` | `null` | no |
442+
| <a name="input_environment"></a> [environment](#input\_environment) | DEPRECATED, no longer used. See `prefix` | `string` | `null` | no |
443443
| <a name="input_fifo_build_queue"></a> [fifo\_build\_queue](#input\_fifo\_build\_queue) | Enable a FIFO queue to remain the order of events received by the webhook. Suggest to set to true for repo level runners. | `bool` | `false` | no |
444444
| <a name="input_ghes_ssl_verify"></a> [ghes\_ssl\_verify](#input\_ghes\_ssl\_verify) | GitHub Enterprise SSL verification. Set to 'false' when custom certificate (chains) is used for GitHub Enterprise Server (insecure). | `bool` | `true` | no |
445445
| <a name="input_ghes_url"></a> [ghes\_url](#input\_ghes\_url) | GitHub Enterprise Server URL. Example: https://github.internal.co - DO NOT SET IF USING PUBLIC GITHUB | `string` | `null` | no |

Diff for: variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variable "tags" {
2020
}
2121

2222
variable "environment" {
23-
description = "A name that identifies the environment, used as prefix and for tagging."
23+
description = "DEPRECATED, no longer used. See `prefix`"
2424
type = string
2525
default = null
2626

0 commit comments

Comments
 (0)