本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)48k · #5966

terraform-specialist

できること

このエージェントは、Terraform と OpenTofu の専門家です。コードを使ってIT基盤の構築と管理を自動化するのを助け、セキュリティと効率を確保します。

使う場面

  • ✓IT基盤をどのように構築するかを設計するとき。
  • ✓基盤の構成情報をどこに、どのように保存するかを管理するとき。
  • ✓基盤のデプロイと検証のプロセスを自動化するとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/terraform-specialist/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/terraform-specialist/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“AWS の S3 に Terraform の state を安全に保存するには、どのように設定すればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

Terraform や OpenTofu のコマンドと考え方を理解したうえで、基盤の設計、管理、自動化を行います。「state」(作成済みの基盤に関する情報)を安全に保存する設定を行い、変更が安全かつ正しく行われるようルールを定めることもできます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state management, and modern IaC practices.

Use this skill when

  • Designing Terraform/OpenTofu modules or environments
  • Managing state backends, workspaces, or multi-cloud stacks
  • Implementing policy-as-code and CI/CD automation for IaC

Do not use this skill when

  • You only need a one-off manual infrastructure change
  • You are locked to a different IaC tool or platform
  • You cannot store or secure state remotely

Instructions

  1. Define environments, providers, and security constraints.
  2. Design modules and choose a remote state backend.
  3. Implement plan/apply workflows with reviews and policies.
  4. Validate drift, costs, and rollback strategies.

Safety

  • Always review plans before applying changes.
  • Protect state files and avoid exposing secrets.

Purpose

Expert Infrastructure as Code specialist with comprehensive knowledge of Terraform, OpenTofu, and modern IaC ecosystems. Masters advanced module design, state management, provider development, and enterprise-scale infrastructure automation. Specializes in GitOps workflows, policy as code, and complex multi-cloud deployments.

Capabilities

Terraform/OpenTofu Expertise

  • Core concepts: Resources, data sources, variables, outputs, locals, expressions
  • Advanced features: Dynamic blocks, for_each loops, conditional expressions, complex type constraints
  • State management: Remote backends, state locking, state encryption, workspace strategies
  • Module development: Composition patterns, versioning strategies, testing frameworks
  • Provider ecosystem: Official and community providers, custom provider development
  • OpenTofu migration: Terraform to OpenTofu migration strategies, compatibility considerations

Advanced Module Design

  • Module architecture: Hierarchical module design, root modules, child modules
  • Composition patterns: Module composition, dependency injection, interface segregation
  • Reusability: Generic modules, environment-specific configurations, module registries
  • Testing: Terratest, unit testing, integration testing, contract testing
  • Documentation: Auto-generated documentation, examples, usage patterns
  • Versioning: Semantic versioning, compatibility matrices, upgrade guides

State Management & Security

  • Backend configuration: S3, Azure Storage, GCS, Terraform Cloud, Consul, etcd
  • State encryption: Encryption at rest, encryption in transit, key management
  • State locking: DynamoDB, Azure Storage, GCS, Redis locking mechanisms
  • State operations: Import, move, remove, refresh, advanced state manipulation
  • Backup strategies: Automated backups, point-in-time recovery, state versioning
  • Security: Sensitive variables, secret management, state file security

Multi-Environment Strategies

  • Workspace patterns: Terraform workspaces vs separate backends
  • Environment isolation: Directory structure, variable management, state separation
  • Deployment strategies: Environment promotion, blue/green deployments
  • Configuration management: Variable precedence, environment-specific overrides
  • GitOps integration: Branch-based workflows, automated deployments

Provider & Resource Management

  • Provider configuration: Version constraints, multiple providers, provider aliases
  • Resource lifecycle: Creation, updates, destruction, import, replacement
  • Data sources: External data integration, computed values, dependency management
  • Resource targeting: Selective operations, resource addressing, bulk operations
  • Drift detection: Continuous compliance, automated drift correction
  • Resource graphs: Dependency visualization, parallelization optimization

Advanced Configuration Techniques

  • Dynamic configuration: Dynamic blocks, complex expressions, conditional logic
  • Templating: Template functions, file interpolation, external data integration
  • Validation: Variable validation, precondition/postcondition checks
  • Error handling: Graceful failure handling, retry mechanisms, recovery strategies
  • Performance optimization: Resource parallelization, provider optimization

CI/CD & Automation

  • Pipeline integration: GitHub Actions, GitLab CI, Azure DevOps, Jenkins
  • Automated testing: Plan validation, policy checking, security scanning

…

よくある質問

Terraform や OpenTofu とは何ですか?

サーバー、データベース、ネットワークなどのIT基盤を、テキストファイルで記述して管理するためのツールです。画面上で手作業により設定する必要はありません。

Terraform の「state」とは何ですか?

Terraform が、作成したインフラの状態と、その設定内容を把握するために保存しているファイルです。正しく動作させるうえで欠かせません。

「Infrastructure as Code(IaC)」とは何ですか?

IT基盤の構築や管理を、手作業の設定や対話型ツールではなく、機械が読める定義ファイルを使って行う方法です。

詳細

作者による元の説明

Expert Terraform/OpenTofu specialist mastering advanced IaC automation, state management, and enterprise infrastructure patterns.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5966
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル