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
docs: Update the documentation for private address settings (#383)
* update documentation
Update the documentation for runners_use_private_address and
runner_agent_uses_private_address to make the connection between to two
more clear.
* run pre-commit
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -346,7 +346,7 @@ terraform destroy
346
346
| <aname="input_enable_cloudwatch_logging"></a> [enable\_cloudwatch\_logging](#input\_enable\_cloudwatch\_logging)| Boolean used to enable or disable the CloudWatch logging. |`bool`|`true`| no |
347
347
| <aname="input_enable_docker_machine_ssm_access"></a> [enable\_docker\_machine\_ssm\_access](#input\_enable\_docker\_machine\_ssm\_access)| Add IAM policies to the docker-machine instances to connect via the Session Manager. |`bool`|`false`| no |
348
348
| <aname="input_enable_eip"></a> [enable\_eip](#input\_enable\_eip)| Enable the assignment of an EIP to the gitlab runner instance |`bool`|`false`| no |
349
-
| <aname="input_enable_forced_updates"></a> [enable\_forced\_updates](#input\_enable\_forced\_updates)| DEPRECATED! and is replaced by `enable_asg_recreation. Setting this variable to true will do the oposite as expected. For backward compatibility the variable will remain some releases. Old desription: Enable automatic redeployment of the Runner ASG when the Launch Configs change.`|`string`|`null`| no |
349
+
| <aname="input_enable_forced_updates"></a> [enable\_forced\_updates](#input\_enable\_forced\_updates)| DEPRECATED! and is replaced by `enable_asg_recreation. Setting this variable to true will do the opposite as expected. For backward compatibility the variable will remain some releases. Old desription: Enable automatic redeployment of the Runner ASG when the Launch Configs change.`|`string`|`null`| no |
350
350
| <aname="input_enable_gitlab_runner_ssh_access"></a> [enable\_gitlab\_runner\_ssh\_access](#input\_enable\_gitlab\_runner\_ssh\_access)| Enables SSH Access to the gitlab runner instance. |`bool`|`false`| no |
351
351
| <aname="input_enable_kms"></a> [enable\_kms](#input\_enable\_kms)| Let the module manage a KMS key, logs will be encrypted via KMS. Be-aware of the costs of an custom key. |`bool`|`false`| no |
352
352
| <aname="input_enable_manage_gitlab_token"></a> [enable\_manage\_gitlab\_token](#input\_enable\_manage\_gitlab\_token)| Boolean to enable the management of the GitLab token in SSM. If `true` the token will be stored in SSM, which means the SSM property is a terraform managed resource. If `false` the Gitlab token will be stored in the SSM by the user-data script during creation of the the instance. However the SSM parameter is not managed by terraform and will remain in SSM after a `terraform destroy`. |`bool`|`true`| no |
@@ -372,7 +372,7 @@ terraform destroy
372
372
| <aname="input_overrides"></a> [overrides](#input\_overrides)| This maps provides the possibility to override some defaults. The following attributes are supported: `name_sg` overwrite the `Name` tag for all security groups created by this module. `name_runner_agent_instance` override the `Name` tag for the ec2 instance defined in the auto launch configuration. `name_docker_machine_runners` ovverrid the `Name` tag spot instances created by the runner agent. |`map(string)`| <pre>{<br> "name_docker_machine_runners": "",<br> "name_iam_objects": "",<br> "name_runner_agent_instance": "",<br> "name_sg": ""<br>}</pre> | no |
373
373
| <aname="input_permissions_boundary"></a> [permissions\_boundary](#input\_permissions\_boundary)| Name of permissions boundary policy to attach to AWS IAM roles |`string`|`""`| no |
374
374
| <aname="input_role_tags"></a> [role\_tags](#input\_role\_tags)| Map of tags that will be added to the role created. Useful for tag based authorization. |`map(string)`|`{}`| no |
375
-
| <aname="input_runner_agent_uses_private_address"></a> [runner\_agent\_uses\_private\_address](#input\_runner\_agent\_uses\_private\_address)| Restrict the runner agent to the use of a private IP address |`bool`|`true`| no |
375
+
| <aname="input_runner_agent_uses_private_address"></a> [runner\_agent\_uses\_private\_address](#input\_runner\_agent\_uses\_private\_address)| Restrict the runner agent to the use of a private IP address. If `runner_agent_uses_private_address` is set to `false` it will override the `runners_use_private_address` for the agent.|`bool`|`true`| no |
376
376
| <aname="input_runner_ami_filter"></a> [runner\_ami\_filter](#input\_runner\_ami\_filter)| List of maps used to create the AMI filter for the Gitlab runner docker-machine AMI. |`map(list(string))`| <pre>{<br> "name": [<br> "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"<br> ]<br>}</pre> | no |
377
377
| <aname="input_runner_ami_owners"></a> [runner\_ami\_owners](#input\_runner\_ami\_owners)| The list of owners used to select the AMI of Gitlab runner docker-machine instances. |`list(string)`| <pre>[<br> "099720109477"<br>]</pre> | no |
378
378
| <aname="input_runner_iam_policy_arns"></a> [runner\_iam\_policy\_arns](#input\_runner\_iam\_policy\_arns)| List of policy ARNs to be added to the instance profile of the gitlab runner agent ec2 instance. |`list(string)`|`[]`| no |
| <aname="input_runners_shm_size"></a> [runners\_shm\_size](#input\_runners\_shm\_size)| shm\_size for the runners, will be used in the runner config.toml |`number`|`0`| no |
420
420
| <aname="input_runners_token"></a> [runners\_token](#input\_runners\_token)| Token for the runner, will be used in the runner config.toml. |`string`|`"__REPLACED_BY_USER_DATA__"`| no |
421
-
| <aname="input_runners_use_private_address"></a> [runners\_use\_private\_address](#input\_runners\_use\_private\_address)| Restrict runners to the use of a private IP address |`bool`|`true`| no |
421
+
| <aname="input_runners_use_private_address"></a> [runners\_use\_private\_address](#input\_runners\_use\_private\_address)| Restrict runners to the use of a private IP address. If `runner_agent_uses_private_address` is set to `true`(default), `runners_use_private_address` will also apply for the agent.|`bool`|`true`| no |
| <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
424
| <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 |
description="Restrict runners to the use of a private IP address"
330
+
description="Restrict runners to the use of a private IP address. If `runner_agent_uses_private_address` is set to `true`(default), `runners_use_private_address` will also apply for the agent."
331
331
type=bool
332
332
default=true
333
333
}
334
334
335
335
variable"runner_agent_uses_private_address" {
336
-
description="Restrict the runner agent to the use of a private IP address"
336
+
description="Restrict the runner agent to the use of a private IP address. If `runner_agent_uses_private_address` is set to `false` it will override the `runners_use_private_address` for the agent."
description="DEPRECATED! and is replaced by `enable_asg_recreation. Setting this variable to true will do the oposite as expected. For backward compatibility the variable will remain some releases. Old desription: Enable automatic redeployment of the Runner ASG when the Launch Configs change."
699
+
description="DEPRECATED! and is replaced by `enable_asg_recreation. Setting this variable to true will do the opposite as expected. For backward compatibility the variable will remain some releases. Old desription: Enable automatic redeployment of the Runner ASG when the Launch Configs change."
0 commit comments