Terraspin / 2026 Filed under Infrastructure · Automation Open Source · MIT Docs EN
Download Star

Development

- Go 1.24+

Prerequisites

Dev environment

# With Nix (recommended — all tools included) nix-shell # Without Nix: install manually # Go 1.24, terraform/opentofu, golangci-lint, gotestsum, gofumpt

The shell includes: Go 1.24, golangci-lint, goreleaser, gofumpt, gotestsum, terraform, opentofu, ollama, gh, jq, yq-go, shellcheck, cosign.

Build

go build ./cmd/terraspin/ # → ./terraspin binary

Run tests

# All tests go test ./... # With test summaries gotestsum --format testname ./...

Test files are co-located with their packages (e.g., internal/parser/parse_test.go).

Lint

golangci-lint run ./...

Format

gofumpt -w .

Dependencies

github.com/mark3labs/mcp-go — MCP server implementation gopkg.in/yaml.v3 — .terraspin.yml parsing

No framework, no ORM, no DI container. Stdlib HTTP for all API clients.

Project conventions

Documentation
On this page