terraform-helper
БесплатноЗапускает вложенные скриптыНе проверенTerraform and OpenTofu infrastructure as code - HCL, providers, modules, state management, and CLI operations When user works with .tf files, mentions…
от shepherdjerred★ 85 звёзд на GitHubОб этом скилле
Terraform & OpenTofu Helper Agent
What's New
Terraform 1.11 (Latest Stable)
- Write-Only Arguments: Extend ephemeral values to managed resources; write-only arguments accept ephemeral values and are never persisted in plan or state files (e.g.,
password_woonaws_db_instance) - Write-Only Versioning: Use
_wo_versionattributes to control when write-only values are re-sent to providers
Terraform 1.10
- Ephemeral Values: Ephemeral input/output variables, ephemeral resources, and
ephemeralasnullfunction; secrets never stored in state or plan files - Ephemeral Resources: Available in AWS, Azure, Kubernetes, and random providers for temporary credentials, tokens, and tunnels
terraform.applyingFunction: Distinguish between plan and apply phases in expressions- Performance: Refactored plan changes and reduced repeated state decoding
- Testing: Backend blocks in run blocks,
skip_cleanupattribute for test files
Terraform 1.9
- Enhanced Variable Validation: Validation conditions can reference other variables, data sources, and locals
templatestringFunction: Render templates from dynamic sources without saving to disk- Moved Block Improvements: Refactor
null_resourcetoterraform_datavia moved blocks - Provisioner in
removedBlocks: Execute destroy-time provisioners when removing resource declarations
Terraform 1.8
- Provider-Defined Functions: Call custom provider functions with
provider::name::function()syntax - Cross-Type Refactoring: Move resources between different types using moved blocks (provider support required)
- Provider Functions for AWS/GCP/K8s: ARN parsing, resource ID parsing, manifest encoding/decoding
OpenTofu 1.9
for_eachon Providers: Aliased provider configurations supportfor_eachfor dynamic multi-instance providers-excludeFlag: Exclude specific resources from plan/apply operations- Early Evaluation Prompts: Interactive variable prompting during early evaluation phase
encrypted_metadata_alias: Explicit ID control for encrypted state data
OpenTofu 1.8
.tofuFile Extension: OpenTofu-specific files that override identically named.tffiles for dual compatibility- Early Evaluation: Use variables and locals in backend config, module sources, and encryption config
- Provider Mocking: Mock providers in test files for isolated unit testing
- State Encryption: End-to-end client-side encryption with AES-GCM, PBKDF2, AWS KMS, GCP KMS key providers
Overview
Terraform and OpenTofu are infrastructure as code (IaC) tools that use HashiCorp Configuration Language (HCL) to define and provision cloud infrastructure declaratively. OpenTofu is an open-source fork (MPL 2.0) of Terraform (BSL licensed), maintaining HCL compatibility while adding features like state encryption and provider for_each.
CLI Commands
Auto-Approved Commands (Safe / Read-Only)
The following commands are safe to run without user confirmation:
terraform plan/tofu plan- Preview changes without applyingterraform validate/tofu validate- Check configuration syntax and consistencyterraform fmt/tofu fmt- Format HCL files to canonical styleterraform fmt -check- Check formatting without modifying filesterraform show/tofu show- Display state or plan file contentsterraform state list/tofu state list- List resources in stateterraform state show <addr>- Show attributes of a single resourceterraform output/tofu output- Display output valuesterraform providers/tofu providers- Show required providersterraform version/tofu version- Show version informationterraform graph/tofu graph- Generate dependency graph (DOT format)terraform workspace list- List workspacesterraform console- Interactive expression evaluation
Commands Requiring Confirmation
These commands modify infrastructure or state and need user approval:
terraform apply/tofu apply- Create or update infrastructureterraform destroy/tofu destroy- Destroy managed infrastructureterraform import/tofu import- Import existing resources into stateterraform state mv- Move resources within stateterraform state rm- Remove resources from state (does not destroy)terraform state push- Overwrite remote stateterraform taint/terraform untaint- Mark/unmark resource for recreationterraform force-unlock- Manually release a state lockterraform workspace new/delete- Create or delete workspaces
Common Workflows
# Initialize working directory (downloads providers, modules)
terraform init
# Format all .tf files recursively
terraform fmt -recursive
# Validate configuration
terraform validate
# Preview changes
terraform plan
# Preview changes and save plan
terraform plan -out=tfplan
# Apply saved plan (no confirmation prom
Установить terraform-helper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл terraform-helper?
Terraform and OpenTofu infrastructure as code - HCL, providers, modules, state management, and CLI operations When user works with .tf files, mentions Terraform, OpenTofu, tofu, HCL, infrastructure as code, or tf commands
Как установить скилл terraform-helper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл terraform-helper запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic