You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For migration to the new setup simply add the runner token to the parameter store. Once the runner is started it will lookup the required values via the parameter store. If the value is `null` a new runner will be registered and a new token created/stored.
131
-
132
-
```sh
133
-
# set the following variables, look up the variables in your Terraform config.
134
-
# see your Terraform variables to fill in the vars below.
Once you have created the parameter, you must remove the variable `runners_token` from your config. The next time your GitLab runner instance is created it will look up the token from the SSM parameter store.
143
-
144
-
Finally, the runner still supports the manual runner creation. No changes are required. Please keep in mind that this setup will be removed in future releases.
145
-
146
130
### Access runner instance
147
131
148
132
A few option are provided to access the runner instance:
| <aname="input_schedule_config"></a> [schedule\_config](#input\_schedule\_config)| Map containing the configuration of the ASG scale-in and scale-up for the runner instance. Will only be used if enable\_schedule is set to true. |`map(any)`| <pre>{<br> "scale_in_count": 0,<br> "scale_in_recurrence": "0 18 * * 1-5",<br> "scale_out_count": 1,<br> "scale_out_recurrence": "0 8 * * 1-5"<br>}</pre> | no |
424
408
| <aname="input_secure_parameter_store_runner_sentry_dsn"></a> [secure\_parameter\_store\_runner\_sentry\_dsn](#input\_secure\_parameter\_store\_runner\_sentry\_dsn)| The Sentry DSN name used to store the Sentry DSN in Secure Parameter Store |`string`|`"sentry-dsn"`| no |
425
-
| <aname="input_secure_parameter_store_runner_token_key"></a> [secure\_parameter\_store\_runner\_token\_key](#input\_secure\_parameter\_store\_runner\_token\_key)| The key name used store the Gitlab runner token in Secure Parameter Store |`string`|`"runner-token"`| no |
426
409
| <aname="input_sentry_dsn"></a> [sentry\_dsn](#input\_sentry\_dsn)| Sentry DSN of the project for the runner to use (uses legacy DSN format) |`string`|`"__SENTRY_DSN_REPLACED_BY_USER_DATA__"`| no |
427
410
| <aname="input_subnet_id_runners"></a> [subnet\_id\_runners](#input\_subnet\_id\_runners)| List of subnets used for hosting the gitlab-runners. |`string`| n/a | yes |
428
411
| <aname="input_subnet_ids_gitlab_runner"></a> [subnet\_ids\_gitlab\_runner](#input\_subnet\_ids\_gitlab\_runner)| Subnet used for hosting the GitLab runner. |`list(string)`| n/a | yes |
0 commit comments