terraform-cli
Skill2 starsChanged 10 months agoMITView on GitHub
Terraform CLI operations for Azure infrastructure management
1 other project uses a version of this.
Adopted by
Most recently taken up by
- abdullahkhawer/devops-skillstheir own version, first seen May 7, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- abdullahkhawer/devops-skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ai-foundry-operationsSkill
- argocd-cliSkill
- aro-deploymentSkill
- azure-cliSkill
- azure-infrastructureSkill
- database-managementSkill
- deploy-orchestrationSkill
- github-cliSkill
- helm-cliSkill
- kubectl-cliSkill
- mcp-cliSkill
- observability-stackSkill
- oc-cliSkill
- openshift-operationsSkill
- prerequisitesSkill
- rhdh-portalSkill
- validation-scriptsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
ALWAYS run terraform fmt before committing
- Very specific: line 68
ALWAYS run terraform validate before planning
- Distinctive: line 69
NEVER commit .tfstate files
- Distinctive: line 70
ALWAYS use -out flag for plans to review
- Distinctive: line 71
Use workspaces for environment separation
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Validating Terraform configurations
- Planning infrastructure changes
- Applying infrastructure changes (with approval)
- Security scanning IaC
Prerequisites
- Terraform >= 1.5.0 installed
- Azure CLI authenticated
- Backend storage account accessible
- Environment variables: ARM_SUBSCRIPTION_ID, ARM_TENANT_ID
Commands
Format & Validate
# Check formatting
terraform fmt -check -recursive -diff
# Apply formatting
terraform fmt -recursive
# Validate configuration
terraform init -backend=false
terraform validatePlanning
# Initialize with backend
terraform init -reconfigure
# Create plan
terraform plan \
-var-file=environments/${ENVIRONMENT}.tfvars \
-out=tfplan \
-detailed-exitcode
# Show plan in JSON
terraform show -json tfplan | jq '.resource_changes'Security Scanning
# TFSec scan
tfsec . --format=json --out=tfsec-results.json
# Checkov scan
checkov -d . --output-file=checkov-results.json --output=jsonState Operations (Read-Only)
# List resources
terraform state list
# Show resource details
terraform state show 'azurerm_kubernetes_cluster.main'Best Practices
- ALWAYS run
terraform fmtbefore committing - ALWAYS run
terraform validatebefore planning - NEVER commit .tfstate files
- ALWAYS use -out flag for plans to review
- Use workspaces for environment separation
- Enable state locking with Azure blob lease
Output Format
Provide structured output:
- Command executed with full parameters
- Exit code (0=success, 1=error, 2=changes pending)
- Summary: resources to add/change/destroy
- Warnings or errors with line references
- Recommendations for next steps
Integration with Agents
Used by: @terraform, @security, @test
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

