opentofu-migration
Skill by ibrdot
Guides a move from Terraform to the open-source OpenTofu fork, covering state compatibility, provider registry setup and CI/CD pipeline updates. Written for teams adopting OpenTofu for licensing reasons or evaluating it.
Install opentofu-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.claude/skills && cp -r /tmp/swe-re-expert/plugins/agentic-awesome-skills/skills/opentofu-migration ~/.claude/skills/opentofu-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swe-re-expert/plugins/agentic-awesome-skills/skills/opentofu-migration ~/.gemini/antigravity-cli/skills/opentofu-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a docs-only guide for moving an existing Terraform codebase to OpenTofu, the open-source Terraform fork. It walks through installing the OpenTofu CLI, replacing terraform commands with tofu equivalents, regenerating the provider lock file, and checking that existing state and backends still work. It also covers provider registry setup and CI/CD updates, with sample GitHub Actions and GitLab CI pipelines.
It describes OpenTofu-specific features such as native state encryption and early variable evaluation in backend configuration. A coexistence section shows how to run both tools during a gradual migration. The guide is intended for teams adopting OpenTofu for licensing reasons or evaluating license-free infrastructure-as-code. Helper scripts and templates are not bundled.
Written from the project's SKILL.md and checked against it.
What it can do
- Command mappingLists how each common terraform command maps to its tofu equivalent.
- Provider lock file updateExplains removing the Terraform lock file and regenerating it with tofu init -upgrade.
- State backend checkShows that existing S3 and other state backends work unchanged and how to verify access.
- State encryptionDescribes OpenTofu native state and plan encryption using a pbkdf2 key provider and aes_gcm method.
- CI/CD pipeline examplesProvides sample GitHub Actions and GitLab CI workflows that run OpenTofu plan and apply.
- Coexistence strategyShows aliases, direnv and a wrapper script to use Terraform and OpenTofu side by side.
What you need
- Existing Terraform codebase (0.13 or later)
- OpenTofu CLI installed
- State backend access such as S3, GCS or Azure Blob
- Docker (optional, for the container install option)
Try asking
- Walk me through migrating this Terraform repo to OpenTofu step by step.
- Convert my GitHub Actions workflow from terraform to tofu commands.
- Show how to enable OpenTofu state encryption with a pbkdf2 key provider.
Good to know
- Docs-only skill. Upstream helper scripts and templates are not bundled.
- Infrastructure commands can disrupt services, so confirm scope and back up state first.
- The guide notes Terraform 1.6.x or earlier for full compatibility.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/agentic-awesome-skills/skills/opentofu-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to opentofu-migration
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
opentofu-migration: common questions
Does OpenTofu need a state migration from Terraform?
The source says OpenTofu reads Terraform state files directly, so no state migration is needed. Verify access with tofu init and tofu state list.
Which Terraform versions does this guide cover?
The prerequisites require an existing Terraform codebase of version 0.13 or later. The compatibility step says Terraform 1.6.x or earlier gives full compatibility.
Does the guide cover OpenTofu-only features?
Yes. It describes native state encryption and early variable evaluation in backend configuration, which the source says Terraform does not support.
How do I install opentofu-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is opentofu-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is opentofu-migration safe to use?
It scores 54 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to opentofu-migration?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
