Skip to content

Commit

Permalink
docs: underline that volume_iops works only if `runner_worker_docke…
Browse files Browse the repository at this point in the history
…r_machine_fleet.enabled = true` (#1198)

## Description

The `runner_worker_docker_machine_instance.volume_iops` does not work
for the docker+machine driver, but works for the fleeting mode which can
be enabled via `runner_worker_docker_machine_fleet.enabled = true`. We
amend the comment to make that clear.

Closes #1179
  • Loading branch information
kayman-mk authored Oct 21, 2024
1 parent 9677102 commit 19dd778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ variable "runner_worker_docker_machine_instance" {
types = The type of instance to use for the Runner Worker. In case of fleet mode, multiple instance types are supported.
volume_type = The type of volume to use for the Runner Worker. `gp2`, `gp3`, `io1` or `io2` are supported.
volume_throughput = Throughput in MB/s for the volume. Only supported when using `gp3` as `volume_type`.
volume_iops = Guaranteed IOPS for the volume. Only supported when using `gp3`, `io1` or `io2` as `volume_type`.
volume_iops = Guaranteed IOPS for the volume. Only supported when using `gp3`, `io1` or `io2` as `volume_type`. Works for fleeting only. See `runner_worker_docker_machine_fleet`.
EOT
type = object({
destroy_after_max_builds = optional(number, 0)
Expand Down

0 comments on commit 19dd778

Please sign in to comment.