# The AI-Driven Infrastructure as Code Handbook. Build and verify cloud and Kubernetes infrastructure with Claude Code, Codex, Terraform, and MCP

Canonical: https://www.kolczanksiazek.pl/gourav-j-shah/the-ai-driven-infrastructure-as-code-handbook-build-and-verify-cloud-and-kubernetes-infrastructure-with-claude-code-codex-terraform-and-mcp/9781808658242

Wersja JSON (te same dane): https://www.kolczanksiazek.pl/gourav-j-shah/the-ai-driven-infrastructure-as-code-handbook-build-and-verify-cloud-and-kubernetes-infrastructure-with-claude-code-codex-terraform-and-mcp/9781808658242.json

![The AI-Driven Infrastructure as Code Handbook. Build and verify cloud and Kubernetes infrastructure with Claude Code, Codex, Terraform, and MCP](https://quivercdn.com/covers/packt-publishing-z-checia-przeczytam-ksiazke-w-jezyku-polskim/gourav-j-shah/the-ai-driven-infrastructure-as-code-handbook-build-and-verify-cloud-and-kubernetes-infrastructure-with-claude-code_978-18-0865-824-2-573ae6c2.webp?v=2026-11-15%2003%3A52%3A37)

- Książka: [The AI-Driven Infrastructure as Code Handbook. Build and verify cloud and Kubernetes infrastructure with Claude Code, Codex, Terraform, and MCP](https://www.kolczanksiazek.pl/gourav-j-shah/the-ai-driven-infrastructure-as-code-handbook-build-and-verify-cloud-and-kubernetes-infrastructure-with-claude-code-codex-terraform-and-mcp) ([The AI-Driven Infrastructure as Code Handbook. Build and verify cloud and Kubernetes infrastructure with Claude Code, Codex, Terraform, and MCP.md](https://www.kolczanksiazek.pl/gourav-j-shah/the-ai-driven-infrastructure-as-code-handbook-build-and-verify-cloud-and-kubernetes-infrastructure-with-claude-code-codex-terraform-and-mcp.md))
- Autorzy: [Gourav J. Shah](https://www.kolczanksiazek.pl/gourav-j-shah)
- Wydawnictwo: Packt Publishing (Z chęcią przeczytam książkę w języku polskim)
- ISBN: 978-18-0865-824-2
- Liczba stron: 394
- Język: pl_PL
- Oprawa: Softcover

## Opis

The Agentic Infrastructure as Code Handbook is a practical guide to building cloud and Kubernetes infrastructure with AI coding agents, rather than relying on hand-written HCL and YAML alone. It shows DevOps engineers and platform teams how to move beyond ad hoc prompting and use context engineering, reusable agent skills, MCP servers, and spec-driven workflows to turn plain-language intent into Terraform and OpenTofu configurations, Helm charts, and Kubernetes manifests. Each chapter builds on the last: workstation setup with Claude Code and Codex CLI, repository context and skills, MCP tool access, permissions and guardrails, and spec-driven generation. Learn to verify generated changes with Trivy, Checkov, OPA/Conftest, and optional Infracost cost estimates. Later chapters extend these practices to Kubernetes with Helm and Crossplane, then to GitHub Actions, Argo CD, and human-approved GitOps delivery. Explore bounded agent loops, multi-agent tradeoffs, and an end-to-end capstone. Throughout, one rule holds: the agent proposes, the pipeline decides. Each increase in autonomy is paired with checks, evidence, and human review. Core exercises run locally, with AWS deployment optional. You'll finish with a repeatable approach to creating, verifying, and delivering infrastructure changes while keeping control over what ships.