modules/runners
Source: github.com/spin-stack/spin-terraform-aws//modules/runners?ref=v20261123.01. Generated from its variables and outputs.
Variables
Section titled “Variables”| Variable | Type | Default |
|---|---|---|
controlplane | 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 |
runners | object({ launch_template = string controlplane_role = string vcpus_max = number max_hosts = number spot = bool data_volume_gb = number }) | required |
request_quota | bool | true |
root_volume_gb | number | 30 |
tags | map(string) | {} |
controlplane
Section titled “controlplane”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
runners
Section titled “runners”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
request_quota
Section titled “request_quota”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
root_volume_gb
Section titled “root_volume_gb”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:
{}
Outputs
Section titled “Outputs”| Output | What it is |
|---|---|
launch_template | The 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_id | The runners’ security group: nothing in, everything out - a workspace’s egress is filtered on the host by spin. |
runner_groups | What 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.