nais/pilot/nais-terraform
Claude Code and agent skill by nais/pilot
- community
Checking that the SKILL.md file is still in the repository.
The OpenTofu and Atlantis setup behind Nais infrastructure — per-tenant roots, shared modules, and what a change touches
Install
npx vskill@latest install nais/pilot/nais-terraformSKILL.md
Nais infrastructure as code
OpenTofu, not Terraform. The binary is tofu. Plans and applies run through Atlantis from pull requests, never from a laptop.
Two internal repos: nais/nais-terraform-modules (per tenant) and nais/nais-io-terraform-modules (the nais.io infrastructure). A 404 means missing org access, not a missing repo.
Layout
Modules: tenant, management, onprem, aiven, cnpg, loadbalancer, naisdevice-controlplane, naisdevice-gateway, github_tenant_auth.
Each root has its own state and service account:
Pattern: nais-tf-state-<tenant>, nais-tf-<tenant>@nais-io.iam.gserviceaccount.com.
Module sources are relative local paths: source = "../../modules/tenant". Nothing is published to registry.terraform.io.
Blast radius
Answer this before proposing an edit.
tenants/<tenant>/: that tenant.modules/: every root that composes it, usually all of them. Check the callers.
Read the plan Atlantis posts. It is the only thing that reports the real radius rather than the predicted one.
Finding things
GitHub rate limits code search to roughly ten requests per minute and caps results. Beyond a spot check, clone and grep.
Traps
- Saying "terraform" when the tool is
tofu. - Proposing a local apply. Applies go through Atlantis on a PR.
- Editing a shared module for one tenant's need is a fleet-wide change. Use the tenant root or a variable.
- Looking for module versions. Sources are local paths;
mainis what every tenant gets.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/nais-terraform/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nais/pilot/nais-terraform)