Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
feat: add variable to configure ebs optimization for runner instances…
Browse files Browse the repository at this point in the history
… (#3901)

feat: add variable to configure ebs optimization for runner instances
  • Loading branch information
AlexShemeshWix authored May 22, 2024
1 parent 9399cf2 commit 479b779
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ Talk to the forestkeepers in the `runners-channel` on Slack.
| <a name="input_webhook_lambda_timeout"></a> [webhook\_lambda\_timeout](#input\_webhook\_lambda\_timeout) | Time out of the webhook lambda in seconds. | `number` | `10` | no |
| <a name="input_webhook_lambda_zip"></a> [webhook\_lambda\_zip](#input\_webhook\_lambda\_zip) | File location of the webhook lambda zip file. | `string` | `null` | no |
| <a name="input_workflow_job_queue_configuration"></a> [workflow\_job\_queue\_configuration](#input\_workflow\_job\_queue\_configuration) | Configuration options for workflow job queue which is only applicable if the flag enable\_workflow\_job\_events\_queue is set to true. | <pre>object({<br> delay_seconds = number<br> visibility_timeout_seconds = number<br> message_retention_seconds = number<br> })</pre> | <pre>{<br> "delay_seconds": null,<br> "message_retention_seconds": null,<br> "visibility_timeout_seconds": null<br>}</pre> | no |
| <a name="runners_ebs_optimized"></a> [runner\_ebs\_optimized](#input\_runner\_ebs\_optimized) | Whether the runner instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. | `bool` | `false` | no |

## Outputs

Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ module "runners" {
pool_lambda_reserved_concurrent_executions = var.pool_lambda_reserved_concurrent_executions

ssm_housekeeper = var.runners_ssm_housekeeper
ebs_optimized = var.runners_ebs_optimized
}

module "runner_binaries" {
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -884,3 +884,9 @@ variable "instance_termination_watcher" {
})
default = {}
}

variable "runners_ebs_optimized" {
description = "Enable EBS optimization for the runner instances."
type = bool
default = false
}

0 comments on commit 479b779

Please sign in to comment.