devops-iac
Skill by enowdev
Guides an assistant through infrastructure as code with Terraform or OpenTofu. It covers remote state, modules, CI plans with approval, drift, imports and secrets. Built for engineers who write or change infrastructure code.
Install devops-iac
Built from the published package, never by AI.
git clone --depth 1 https://github.com/enowdev/enowxcli /tmp/enowxcli && mkdir -p ~/.claude/skills && cp -r /tmp/enowxcli/crates/enowx-core/skills/devops-iac ~/.claude/skills/devops-iacRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/enowdev/enowxcli /tmp/enowxcli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/enowxcli/crates/enowx-core/skills/devops-iac ~/.gemini/antigravity-cli/skills/devops-iacAntigravity 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
The devops-iac skill gives an AI assistant rules for writing and changing infrastructure code. It compares Terraform, OpenTofu, Pulumi, Ansible, cloud-init and Packer, and explains when each fits. It covers remote state with locking and encryption, a layout with shared modules and one directory per environment, pinned providers, and naming and tagging.
The skill asks that plans run in CI and that apply happens only from the reviewed saved plan after approval. It explains importing existing resources, refactoring with moved and removed blocks, keeping secrets out of state, protecting data stores, and checking for drift. It is for engineers who write or change infrastructure code and want small, reviewable changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Tool choiceExplains when to use Terraform, OpenTofu, Pulumi, CloudFormation, CDK, Bicep, Ansible, cloud-init or Packer.
- Remote stateSets up encrypted, versioned, locked state, such as S3 with native locking or GCS.
- Code layoutUses shared modules and one directory per environment instead of workspaces.
- CI plan and approvalRuns fmt, validate, tflint and config scans, posts a plan to the PR, and applies only after approval.
- Existing resourcesAdopts resources with import blocks and renames them with moved and removed blocks.
- SecretsKeeps secrets out of tfvars and state using ephemeral resources and write-only arguments.
- Data protectionApplies prevent_destroy and provider deletion protection to databases and other data stores.
- Drift detectionDescribes scheduled plans with detailed exit codes and refresh-only checks for out-of-band changes.
- Naming and taggingSets a naming pattern and default tags on the provider.
- Pulumi and Ansible guidanceCovers Pulumi stacks and previews, and Ansible roles, inventories and Vault or SOPS.
What you need
- Terraform or OpenTofu
- A CI system with OIDC credentials
- A remote state backend, such as an S3 bucket
Try asking
- Set up remote state with locking for my Terraform project.
- Review this Terraform plan for risky replacements before approval.
- Import my existing S3 bucket into Terraform without recreating it.
Good to know
- Apply is meant to run only from CI, after approval, from a reviewed saved plan.
- Ansible is for configuring servers, not creating cloud resources.
- Checks without credentials are limited to fmt, validate and init with no backend.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: crates/enowx-core/skills/devops-iac/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to devops-iac
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
devops-iac: common questions
Should I use Terraform workspaces for staging and production?
The skill advises against it. Workspaces share one backend and one set of credentials, so the skill recommends a directory per environment instead.
Does Terraform state contain secrets?
Yes. The skill says state holds every attribute of every resource, passwords included, so it should be treated as a secret and never committed.
How do I bring existing infrastructure under Terraform?
Use import blocks, optionally with terraform plan -generate-config-out to draft the HCL, then tidy the code until the plan shows no changes.
How do I install devops-iac?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is devops-iac free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is devops-iac safe to use?
It scores 42 of 100. Grades: maintenance B, licence A, quality B. 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 devops-iac?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
