Infrastructure as code for the software forge
Find a file
2026-04-17 17:22:00 +01:00
.gitignore Add basic OpenTofu code 2026-04-17 10:07:40 +01:00
.terraform.lock.hcl Revert "Move Terraform in to separate directory" 2026-04-17 11:33:18 +01:00
cloud-init.yaml Install Scaleway Python SDK 2026-04-17 15:33:21 +01:00
LICENSE Add MIT licence 2026-04-17 17:22:00 +01:00
main.tf Add secret access to API keys 2026-04-17 15:35:21 +01:00
mise.toml Revert "Move Terraform in to separate directory" 2026-04-17 11:33:18 +01:00
README.md Update README.md 2026-04-17 11:35:28 +01:00
terraform.tf Revert "Move Terraform in to separate directory" 2026-04-17 11:33:18 +01:00
variables.tf Revert "Move Terraform in to separate directory" 2026-04-17 11:33:18 +01:00

Forge — Infrastructure

This repository contains infrastructure as code configuration for the software forge running on Scaleway using Forgejo.

Dependencies

$ brew install mise
$ mise install

Setup

  1. Create a mise.local.toml file containing your Scaleway access key and secret key:

    [env]
    SCW_ACCESS_KEY = "..."
    SCW_SECRET_KEY = "..."
    
  2. Create a terraform.tfvars file containing your variable values:

    scaleway_bucket = "..."
    scaleway_organization_id = "..."
    scaleway_project_id = "..."
    

Plan and apply

$ mise run init
$ mise run plan
$ mise run apply