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

bootstrap

View Markdown

Source: github.com/spin-stack/spin-terraform-aws//bootstrap?ref=v20261027.02. Generated from its variables and outputs.

VariableTypeDefault
cost_allocation_tagsboolfalse
github_repositoriesmap(string){}
regionstring"us-west-2"
tagsmap(string){}
image_publishersmap(string){}
publish_regionslist(string)[]
public_imagesboolfalse
public_image_quotanumber15

Activate spin’s tags as cost allocation tags in this account: true once an installation has run a day here, in one bootstrap per account.

  • Type: bool
  • Default: false

Repositories that apply an installation from GitHub Actions, as owner/name => the prefix of their OIDC subject (sub_claim_prefix, above): each gets a plan role and an apply role.

  • Type: map(string)
  • Default: {}

The region the installations are in.

  • Type: string
  • Default: "us-west-2"

Tags on everything bootstrap creates: what the bill is read by.

  • Type: map(string)
  • Default: {}

Repositories that publish Spin OS from GitHub Actions, as owner/name => the prefix of their OIDC subject (github.tf): each gets a publish role.

  • Type: map(string)
  • Default: {}

The regions a publish role writes snapshots and registers images in; none is this bootstrap’s region.

  • Type: list(string)
  • Default: []

Whether the publish roles make their images public: unblocks public images and raises the quota in each publish region.

  • Type: bool
  • Default: false

Public AMIs a region, when public_images: three a release, for the releases spin-stack/ami keeps public.

  • Type: number
  • Default: 15
OutputWhat it is
github_rolesFor each repository, the roles its workflow assumes: AWS_PLAN_ROLE and AWS_APPLY_ROLE.
bucketThe bucket every installation’s state is in.
kms_aliasThe key every installation’s state is encrypted with.
initRun this in an installation’s directory (examples/complete, or your own copy of it) instead of a bare tofu init.
secure_boot_keysEach role’s Secure Boot key, by the alias spin-stack/ami signs that role’s image with.
publish_rolesFor each repository that publishes Spin OS, the role its workflow assumes.

Generated by task reference from spin-terraform-aws/bootstrap/variables.tf at 358445c95.

Installations run Spinbox v20261027.01; the reference is generated from spin v20261114.01 (51f7e0dea). This page as Markdown, for a model or a terminal.