Terraform Bootstrap (Global)

Last Updated: 2026-01-19

This Terraform root provisions global/shared infrastructure, including the Terraform state bucket used by environment roots.

Where it lives

  • Root: infra/platform/infra/bootstrap/
  • Example env roots: infra/platform/infra/envs/prod/ (and other envs)

What it manages

  • Terraform state S3 bucket (backend) shared by environment roots
  • Supporting IAM/OIDC identity provider for Vercel

Usage

From the repository root:

terraform -chdir=infra/platform/infra/bootstrap init

terraform -chdir=infra/platform/infra/bootstrap plan \
  -var='project=rocket-club' \
  -var='environment=prod' \
  -var='region=eu-west-2'

terraform -chdir=infra/platform/infra/bootstrap apply \
  -var='project=rocket-club' \
  -var='environment=prod' \
  -var='region=eu-west-2'

Notes:

  • This root uses an S3 backend with lock files (no DynamoDB table required for locking).