Skip to content
Spinbox is experimental: APIs change and data may be lost. Status lists what is built and what proves it.

modules/runners

View Markdown

Source: github.com/spin-stack/spin-terraform-aws//modules/runners?ref=v20261123.01. Generated from its variables and outputs.

VariableTypeDefault
controlplaneobject({ name = string iam_name = string vpc_id = string subnet_ids = list(string) security_group_id = string runner_document_arn = string runner_user_data = string images = map(object({ id = string, root_device = string })) boot_log_policy_arn = string standard_vcpus = number boundary_arn = string disk_key_arn = string })required
runnersobject({ launch_template = string controlplane_role = string vcpus_max = number max_hosts = number spot = bool data_volume_gb = number })required
request_quotabooltrue
root_volume_gbnumber30
tagsmap(string){}

What this module needs of the control plane module’s outputs, named one by one: its name, where the runners go, their document, what a runner’s machine runs at its first boot, and the key its disks are encrypted under.

  • Type: object({ name = string iam_name = string vpc_id = string subnet_ids = list(string) security_group_id = string runner_document_arn = string runner_user_data = string images = map(object({ id = string, root_device = string })) boot_log_policy_arn = string standard_vcpus = number boundary_arn = string disk_key_arn = string })
  • Required

The control plane module’s runners output: what it decides of the runners - the launch template’s name, which it makes each host class’s group from, its role, what the template’s machines need of an instance type, and what the quota is sized by.

  • Type: object({ launch_template = string controlplane_role = string vcpus_max = number max_hosts = number spot = bool data_volume_gb = number })
  • Required

Ask AWS for the vCPU quota max_hosts runners need, when the account’s is lower (quota.tf). A request costs nothing and lowers nothing when it is removed.

  • Type: bool
  • Default: true

The runner’s root disk: the OS and the machine’s files; its data is on the instance store or data_volume_gb.

  • Type: number
  • Default: 30

Tags on everything this module creates.

  • Type: map(string)
  • Default: {}
OutputWhat it is
launch_templateThe runners’ launch template, which every host class’s group the control plane makes starts its machines from; its default version is the release’s.
security_group_idThe runners’ security group: nothing in, everything out - a workspace’s egress is filtered on the host by spin.
runner_groupsWhat takes the runners’ groups away on a destroy (groups.tf): for the control plane’s group to depend on, which has to go first or it makes them again.

Generated by task reference from spin-terraform-aws/modules/runners/variables.tf at ef3410ba7.

Installations run Spinbox v20261121.03; the reference is generated from spin v20261121.03 (89c5eb5ea). This page as Markdown, for a model or a terminal.