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
* support setting throughput and iops for ebs volumes ([#1063](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1063)) ([796856a](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/796856ade61947751b4efcd1123761250e17111a))
@@ -181,7 +181,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
181
181
| <aname="input_runner_networking"></a> [runner\_networking](#input\_runner\_networking)| allow\_incoming\_ping = Allow ICMP Ping to the Runner. Specify `allow_incoming_ping_security_group_ids` too!<br>allow\_incoming\_ping\_security\_group\_ids = A list of security group ids that are allowed to ping the Runner.<br>security\_group\_description = A description for the Runner's security group<br>security\_group\_ids = IDs of security groups to add to the Runner. | <pre>object({<br> allow_incoming_ping = optional(bool, false)<br> allow_incoming_ping_security_group_ids = optional(list(string), [])<br> security_group_description = optional(string, "A security group containing gitlab-runner agent instances")<br> security_group_ids = optional(list(string), [])<br> })</pre> |`{}`| no |
| <a name="input_runner_role"></a> [runner\_role](#input\_runner\_role) | additional\_tags = Map of tags that will be added to the role created. Useful for tag based authorization.<br>allow\_iam\_service\_linked\_role\_creation = Boolean used to control attaching the policy to the Runner to create service linked roles.<br>assume\_role\_policy\_json = The assume role policy for the Runner.<br>create\_role\_profile = Whether to create the IAM role/profile for the Runner. If you provide your own role, make sure that it has the required permissions.<br>policy\_arns = List of policy ARNs to be added to the instance profile of the Runner.<br>role\_profile\_name = IAM role/profile name for the Runner. If unspecified then `${var.iam_object_prefix}-instance` is used. | <pre>object({<br> additional_tags = optional(map(string))<br> allow_iam_service_linked_role_creation = optional(bool, true)<br> assume_role_policy_json = optional(string, "")<br> create_role_profile = optional(bool, true)<br> policy_arns = optional(list(string), [])<br> role_profile_name = optional(string)<br> })</pre> | `{}` | no |
184
-
| <aname="input_runner_schedule_config"></a> [runner\_schedule\_config](#input\_runner\_schedule\_config)| Map containing the configuration of the ASG scale-out and scale-in for the Runner. Will only be used if `agent_schedule_enable` is set to `true`. |`map(any)`| <pre>{<br> "scale_in_count": 0,<br> "scale_in_recurrence": "0 18 * * 1-5",<br> "scale_in_time_zone": "Etc/UTC",<br> "scale_out_count": 1,<br> "scale_out_recurrence": "0 8 * * 1-5",<br> "scale_out_time_zone": "Etc/UTC"<br>}</pre> | no |
184
+
| <aname="input_runner_schedule_config"></a> [runner\_schedule\_config](#input\_runner\_schedule\_config)| Map containing the configuration of the ASG scale-out and scale-in for the Runner. Will only be used if `runner_schedule_enable` is set to `true`. |`map(any)`| <pre>{<br> "scale_in_count": 0,<br> "scale_in_recurrence": "0 18 * * 1-5",<br> "scale_in_time_zone": "Etc/UTC",<br> "scale_out_count": 1,<br> "scale_out_recurrence": "0 8 * * 1-5",<br> "scale_out_time_zone": "Etc/UTC"<br>}</pre> | no |
185
185
| <aname="input_runner_schedule_enable"></a> [runner\_schedule\_enable](#input\_runner\_schedule\_enable)| Set to `true` to enable the auto scaling group schedule for the Runner. |`bool`|`false`| no |
186
186
| <aname="input_runner_sentry_secure_parameter_store_name"></a> [runner\_sentry\_secure\_parameter\_store\_name](#input\_runner\_sentry\_secure\_parameter\_store\_name)| The Sentry DSN name used to store the Sentry DSN in Secure Parameter Store |`string`|`"sentry-dsn"`| no |
187
187
| <aname="input_runner_terminate_ec2_lifecycle_hook_name"></a> [runner\_terminate\_ec2\_lifecycle\_hook\_name](#input\_runner\_terminate\_ec2\_lifecycle\_hook\_name)| Specifies a custom name for the ASG terminate lifecycle hook and related resources. |`string`|`null`| no |
@@ -196,7 +196,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
196
196
| <aname="input_runner_worker_docker_machine_ec2_options"></a> [runner\_worker\_docker\_machine\_ec2\_options](#input\_runner\_worker\_docker\_machine\_ec2\_options)| List of additional options for the docker+machine config. Each element of this list must be a key=value pair. E.g. '["amazonec2-zone=a"]' |`list(string)`|`[]`| no |
| <aname="input_runner_worker_docker_machine_fleet"></a> [runner\_worker\_docker\_machine\_fleet](#input\_runner\_worker\_docker\_machine\_fleet)| enable = Activates the fleet mode on the Runner. https://gitlab.com/cki-project/docker-machine/-/blob/v0.16.2-gitlab.19-cki.2/docs/drivers/aws.md#fleet-mode<br>key\_pair\_name = The name of the key pair used by the Runner to connect to the docker-machine Runner Workers. This variable is only supported when `enables` is set to `true`. | <pre>object({<br> enable = bool<br> key_pair_name = optional(string, "fleet-key")<br> })</pre> | <pre>{<br> "enable": false<br>}</pre> | no |
199
-
| <a name="input_runner_worker_docker_machine_instance"></a> [runner\_worker\_docker\_machine\_instance](#input\_runner\_worker\_docker\_machine\_instance) | For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersmachine-section<br><br>docker\_registry\_mirror\_url = The URL of the Docker registry mirror to use for the Runner Worker.<br>destroy\_after\_max\_builds = Destroy the instance after the maximum number of builds has been reached.<br>ebs\_optimized = Enable EBS optimization for the Runner Worker.<br>idle\_count = Number of idle Runner Worker instances (not working for the Docker Runner Worker) (IdleCount).<br>idle\_time = Idle time of the Runner Worker before they are destroyed (not working for the Docker Runner Worker) (IdleTime).<br>max\_growth\_rate = The maximum number of machines that can be added to the runner in parallel.<br>monitoring = Enable detailed monitoring for the Runner Worker.<br>name\_prefix = Set the name prefix and override the `Name` tag for the Runner Worker.<br>private\_address\_only = Restrict Runner Worker to the use of a private IP address. If `runner_instance.use_private_address_only` is set to `true` (default), `runner_worker_docker_machine_instance.private_address_only` will also apply for the Runner.<br>root\_size = The size of the root volume for the Runner Worker.<br>start\_script = Cloud-init user data that will be passed to the Runner Worker. Should not be base64 encrypted.<br>subnet\_ids = The list of subnet IDs to use for the Runner Worker when the fleet mode is enabled.<br>types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.<br>volume\_type = The type of volume to use for the Runner Worker. | <pre>object({<br> destroy_after_max_builds = optional(number, 0)<br> docker_registry_mirror_url = optional(string, "")<br> ebs_optimized = optional(bool, true)<br> idle_count = optional(number, 0)<br> idle_time = optional(number, 600)<br> max_growth_rate = optional(number, 0)<br> monitoring = optional(bool, false)<br> name_prefix = optional(string, "")<br> private_address_only = optional(bool, true)<br> root_size = optional(number, 8)<br> start_script = optional(string, "")<br> subnet_ids = optional(list(string), [])<br> types = optional(list(string), ["m5.large"])<br> volume_type = optional(string, "gp2")<br> })</pre> | `{}` | no |
199
+
| <a name="input_runner_worker_docker_machine_instance"></a> [runner\_worker\_docker\_machine\_instance](#input\_runner\_worker\_docker\_machine\_instance) | For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnersmachine-section<br><br>docker\_registry\_mirror\_url = The URL of the Docker registry mirror to use for the Runner Worker.<br>destroy\_after\_max\_builds = Destroy the instance after the maximum number of builds has been reached.<br>ebs\_optimized = Enable EBS optimization for the Runner Worker.<br>idle\_count = Number of idle Runner Worker instances (not working for the Docker Runner Worker) (IdleCount).<br>idle\_time = Idle time of the Runner Worker before they are destroyed (not working for the Docker Runner Worker) (IdleTime).<br>max\_growth\_rate = The maximum number of machines that can be added to the runner in parallel.<br>monitoring = Enable detailed monitoring for the Runner Worker.<br>name\_prefix = Set the name prefix and override the `Name` tag for the Runner Worker.<br>private\_address\_only = Restrict Runner Worker to the use of a private IP address. If `runner_instance.use_private_address_only` is set to `true` (default), `runner_worker_docker_machine_instance.private_address_only` will also apply for the Runner.<br>root\_size = The size of the root volume for the Runner Worker.<br>start\_script = Cloud-init user data that will be passed to the Runner Worker. Should not be base64 encrypted.<br>subnet\_ids = The list of subnet IDs to use for the Runner Worker when the fleet mode is enabled.<br>types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.<br>volume\_type = The type of volume to use for the Runner Worker. `gp2`, `gp3`, `io1` or `io2` are supported.<br>volume\_throughput = Throughput in MB/s for the volume. Only supported when using `gp3` as `volume_type`.<br>volume\_iops = Guaranteed IOPS for the volume. Only supported when using `gp3`, `io1` or `io2` as `volume_type`. | <pre>object({<br> destroy_after_max_builds = optional(number, 0)<br> docker_registry_mirror_url = optional(string, "")<br> ebs_optimized = optional(bool, true)<br> idle_count = optional(number, 0)<br> idle_time = optional(number, 600)<br> max_growth_rate = optional(number, 0)<br> monitoring = optional(bool, false)<br> name_prefix = optional(string, "")<br> private_address_only = optional(bool, true)<br> root_size = optional(number, 8)<br> start_script = optional(string, "")<br> subnet_ids = optional(list(string), [])<br> types = optional(list(string), ["m5.large"])<br> volume_type = optional(string, "gp2")<br> volume_throughput = optional(number, 125)<br> volume_iops = optional(number, 3000)<br> })</pre> | `{}` | no |
200
200
| <aname="input_runner_worker_docker_machine_instance_spot"></a> [runner\_worker\_docker\_machine\_instance\_spot](#input\_runner\_worker\_docker\_machine\_instance\_spot)| enable = Enable spot instances for the Runner Worker.<br>max\_price = The maximum price willing to pay. By default the price is limited by the current on demand price for the instance type chosen. | <pre>object({<br> enable = optional(bool, true)<br> max_price = optional(string, "on-demand-price")<br> })</pre> |`{}`| no |
201
201
| <aname="input_runner_worker_docker_machine_role"></a> [runner\_worker\_docker\_machine\_role](#input\_runner\_worker\_docker\_machine\_role)| additional\_tags = Map of tags that will be added to the Runner Worker.<br>assume\_role\_policy\_json = Assume role policy for the Runner Worker.<br>policy\_arns = List of ARNs of IAM policies to attach to the Runner Workers.<br>profile\_name = Name of the IAM profile to attach to the Runner Workers. | <pre>object({<br> additional_tags = optional(map(string), {})<br> assume_role_policy_json = optional(string, "")<br> policy_arns = optional(list(string), [])<br> profile_name = optional(string, "")<br> })</pre> |`{}`| no |
202
202
| <aname="input_runner_worker_docker_machine_security_group_description"></a> [runner\_worker\_docker\_machine\_security\_group\_description](#input\_runner\_worker\_docker\_machine\_security\_group\_description)| A description for the Runner Worker security group |`string`|`"A security group containing Runner Worker instances"`| no |
0 commit comments