terraform-cursor-plugin / rules
eclosion-labs/terraform-cursor-plugin/.cursor/rules/terraform.md
Use this repo as a local Cursor plugin (preferred) or as a source of Agent Skills. If .mcp.json is configured in the user’s Cursor setup, prefer using the Terraform MCP server for: When MCP is not available, fall back to CLI guidance and the command guides in commands/.
Cursor rule0 starsChanged 5 months ago
# Terraform Cursor plugin (repo rules) Use this repo as a **local Cursor plugin** (preferred) or as a source of **Agent Skills**. ## Defaults - Prefer **Terraform/OpenTofu CLI** commands that are already documented under `commands/`. - Use **read-only / plan-first** workflows unless the user explicitly asks to apply changes. - Never suggest committing secrets; follow the guidance in `skills/terraform-secrets/SKILL.md`. ## If MCP is enabled If `.mcp.json` is configured in the user’s Cursor setup, prefer using the Terraform MCP server for: - Reading module/provider docs and registry metadata - Inspecting state safely (when available) - Producing structured summaries of plans/state outputs When MCP is not available, fall back to CLI guidance and the command guides in `commands/`. ## Skill routing - Terraform fundamentals and workflows: `skills/terraform-core/SKILL.md` - Troubleshooting: `skills/terraform-troubleshooting/SKILL.md` - Security and secrets handling: `skills/terraform-security/SKILL.md`, `skills/terraform-secrets/SKILL.md` - Cloud-specific: `skills/terraform-aws/SKILL.md`, `skills/terraform-azure/SKILL.md`, `skills/terraform-gcp/SKILL.md`
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

