Librería Samer Atenea
Kálamo Books
Librería Elías (Asturias)
Librería Kolima (Madrid)
Librería Proteo (Málaga)
Use Claude Code as an AI pair programmer for Terraform, OpenTofu, and CI/CD. Connect MCP servers and apply the security guardrails and code reviews that production infrastructure demands.Key Features:- Use Claude Code to write, review, and improve Terraform, OpenTofu, and CI/CD pipelines- Connect MCP servers and apply security checks to infrastructure workflows- Get reusable prompts, commands, and templates for your infrastructure projectsBook Description:Claude Code can help you write Terraform, review code, and build CI/CD pipelines faster. But when you’re managing real cloud infrastructure, speed isn’t enough. You need to know that every change is correct, secure, and safe to apply.This book shows you how to use Claude Code as an AI pair programmer for everyday infrastructure tasks. You’ll start by setting up Claude Code to work with your projects, managing access permissions, and protecting sensitive credentials.You’ll then use Claude Code to write and improve Terraform and OpenTofu modules, review existing infrastructure code, and check changes before applying them. You’ll also build CI/CD pipelines with GitHub Actions and GitLab CI, run security checks, and work with Packer.As you progress, you’ll learn to connect Claude Code to cloud and monitoring tools using MCP servers, investigate incidents, and support troubleshooting without giving AI control over critical decisions.You’ll also create reusable prompts, commands, and templates that your team can use across projects. With practical examples and checks throughout, you’ll learn how to make Claude Code part of your infrastructure workflow while keeping security, reliability, and human review at the center.What You Will Learn:- Configure Claude Code with CLAUDE.md, permissions, and secure credentials- Write and refactor Terraform, OpenTofu, and Infrastructure as Code (IaC)- Review pull requests (PRs) using tfsec, Checkov, and Trivy- Build GitHub Actions and GitLab CI pipelines with OIDC- Connect MCP servers to cloud and observability tools- Create reusable slash commands and prompt libraries- Review infrastructure changes using Terraform plans- Apply security checks and safe AI coding practicesWho this book is for:This book is for DevOps engineers, cloud engineers, platform engineers, and infrastructure professionals who want to use Claude Code in their daily work. It is also useful for technical leads and engineering managers introducing AI-assisted development to their teams. You should already have experience with cloud platforms such as AWS, Azure, or Google Cloud and be familiar with Terraform and CI/CD pipelines. This is not a beginner’s guide to cloud infrastructure. It focuses on using AI to improve existing workflows while maintaining security and reliability.Table of Contents- Why Claude Code Belongs in Your Infra Toolchain- Setup and Configuration for Infrastructure Work- Writing Terraform and OpenTofu with Claude Code- Refactoring and Modularizing Existing IaC- IaC Code Review and Security Scanning Workflows- Building Custom Slash Commands for Infra Tasks- Generating CI/CD Pipelines for GitHub Actions and GitLab CI- Packer, AMIs, and Build Pipelines- AWS Architecture Review Prompts- Debugging and Incident Response Workflows- MCP Server Configuration for Cloud Tools- Building a Personal Prompt and Pattern Library- Team Adoption Patterns and Guardrails- Reference: Prompts, Commands, and Configs