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
@@ -210,6 +210,10 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
210
210
| <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 |
211
211
| <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 |
212
212
| <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 |
213
+
| <aname="input_runner_terminate_ec2_environment_variables"></a> [runner\_terminate\_ec2\_environment\_variables](#input\_runner\_terminate\_ec2\_environment\_variables)| Environment variables to set for the Lambda function. A value of `{HANDLER} is replaced with the handler value of the Lambda function.`|`map(string)`|`{}`| no |
| <aname="input_runner_terminate_ec2_lambda_handler"></a> [runner\_terminate\_ec2\_lambda\_handler](#input\_runner\_terminate\_ec2\_lambda\_handler)| The handler for the terminate Lambda function. |`string`|`null`| no |
216
+
| <aname="input_runner_terminate_ec2_lambda_layer_arns"></a> [runner\_terminate\_ec2\_lambda\_layer\_arns](#input\_runner\_terminate\_ec2\_lambda\_layer\_arns)| A list of ARNs of Lambda layers to attach to the Lambda function. |`list(string)`|`[]`| no |
213
217
| <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 |
214
218
| <aname="input_runner_terminate_ec2_lifecycle_timeout_duration"></a> [runner\_terminate\_ec2\_lifecycle\_timeout\_duration](#input\_runner\_terminate\_ec2\_lifecycle\_timeout\_duration)| Amount of time in seconds to wait for GitLab Runner to finish picked up jobs. Defaults to the `maximum_timeout` configured + `5m`. Maximum allowed is `7200` (2 hours) |`number`|`null`| no |
215
219
| <aname="input_runner_terminate_ec2_timeout_duration"></a> [runner\_terminate\_ec2\_timeout\_duration](#input\_runner\_terminate\_ec2\_timeout\_duration)| Timeout in seconds for the graceful terminate worker Lambda function. |`number`|`90`| no |
|[archive_file.terminate_runner_instances_lambda](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file)| data source |
153
156
|[aws_caller_identity.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
154
157
|[aws_iam_policy_document.assume_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -165,15 +168,21 @@ No modules.
165
168
| <aname="input_asg_hook_terminating_heartbeat_timeout"></a> [asg\_hook\_terminating\_heartbeat\_timeout](#input\_asg\_hook\_terminating\_heartbeat\_timeout)| Duration in seconds the ASG should stay in the Terminating:Wait state. |`number`|`30`| no |
166
169
| <aname="input_asg_name"></a> [asg\_name](#input\_asg\_name)| The name of the Auto Scaling Group to attach to. The 'environment' will be prefixed to this. |`string`| n/a | yes |
167
170
| <aname="input_cloudwatch_logging_retention_in_days"></a> [cloudwatch\_logging\_retention\_in\_days](#input\_cloudwatch\_logging\_retention\_in\_days)| The number of days to retain logs in CloudWatch. |`number`|`30`| no |
| <aname="input_enable_xray_tracing"></a> [enable\_xray\_tracing](#input\_enable\_xray\_tracing)| Enables X-Ray for debugging and analysis |`bool`|`false`| no |
169
173
| <aname="input_environment"></a> [environment](#input\_environment)| A name that identifies the environment, used as a name prefix and for tagging. |`string`| n/a | yes |
174
+
| <aname="input_environment_variables"></a> [environment\_variables](#input\_environment\_variables)| Environment variables to set for the Lambda function. A value of `{HANDLER} is replaced with the handler value of the Lambda function.`|`map(string)`|`{}`| no |
170
175
| <aname="input_kms_key_id"></a> [kms\_key\_id](#input\_kms\_key\_id)| KMS key id to encrypt the resources, e.g. logs, lambda environment variables, ... |`string`| n/a | yes |
176
+
| <aname="input_lambda_handler"></a> [lambda\_handler](#input\_lambda\_handler)| The entry point for the Lambda function. |`string`|`null`| no |
177
+
| <aname="input_layer_arns"></a> [layer\_arns](#input\_layer\_arns)| A list of ARNs of Lambda layers to attach to the Lambda function. |`list(string)`|`[]`| no |
171
178
| <aname="input_name"></a> [name](#input\_name)| The name of the Lambda function to create. The 'environment' will be prefixed to this. |`string`| n/a | yes |
172
179
| <aname="input_name_docker_machine_runners"></a> [name\_docker\_machine\_runners](#input\_name\_docker\_machine\_runners)| The `Name` tag of EC2 instances created by the runner agent. |`string`| n/a | yes |
173
180
| <aname="input_name_iam_objects"></a> [name\_iam\_objects](#input\_name\_iam\_objects)| The name to use for IAM resources - roles and policies. |`string`|`""`| no |
174
181
| <aname="input_role_permissions_boundary"></a> [role\_permissions\_boundary](#input\_role\_permissions\_boundary)| An optional IAM permissions boundary to use when creating IAM roles. |`string`|`null`| no |
182
+
| <aname="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id)| The subnet for the lambda function. |`string`| n/a | yes |
175
183
| <aname="input_tags"></a> [tags](#input\_tags)| Map of tags to apply to resources. |`map(any)`|`{}`| no |
176
184
| <aname="input_timeout"></a> [timeout](#input\_timeout)| Timeout in seconds for the Lambda function. |`number`|`90`| no |
185
+
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| The VPC used for the runner and runner workers. |`string`| n/a | yes |
0 commit comments