This is the previous default example. For this example you need to register the runner before running terraform and provide the runner token. Since version 3+ the runner can register itself by providing the registration token. This example is provided to showcase backwards compatibility.
The terraform version is managed using tfenv. If you are not using tfenv
please check .terraform-version
for the tested version.
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | AWS region. | string | "eu-west-1" |
no |
environment | A name that identifies the environment, will used as prefix and for tagging. | string | "ci-runners" |
no |
gitlab_url | URL of the gitlab instance to connect to. | string | n/a | yes |
private_ssh_key_filename | string | "generated/id_rsa" |
no | |
public_ssh_key_filename | string | "generated/id_rsa.pub" |
no | |
runner_name | Name of the runner, will be used in the runner config.toml | string | n/a | yes |
runner_token | Token for the runner, will be used in the runner config.toml | string | n/a | yes |