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=<tag>. Generated from its variables.tf and outputs.tf.

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

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"

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: []
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 1557e9668.

Documents Spinbox v20261019.02. This page as Markdown, for a model or a terminal.