Files
awesome-kubernetes/v2-docs/terraform.md

126 KiB
Raw Permalink Blame History

Hashicorp Terraform & Packer. Kubernetes Boilerplates

!!! info "Architectural Context" Detailed reference for Hashicorp Terraform & Packer. Kubernetes Boilerplates in the context of Hardened Infrastructure.

Standard Reference

Cloud Infrastructure

Infrastructure as Code

AI Generation

Testing Practices

  • AI Meets Terraform: Prompt Strategies for Test Generation [COMMUNITY-TOOL] — Outlines specific prompting strategies to automatically draft tests for Terraform modules. Synthesizes automated validation frameworks like terraform test with generative AI outputs to ensure infrastructure stability.

Kubernetes Distributions

Bare-Metal and Edge

  • poseidon/typhoon 2042 [EN CONTENT] [ADVANCED LEVEL] [ENTERPRISE-STABLE] — Typhoon is a bare-metal and multi-cloud Kubernetes distribution focused on simplicity. Built entirely with Terraform and running on Flatcar Container Linux, it provides a stable setup that operates efficiently without heavy proprietary layers.

Cloud Providers

Azure

Infrastructure as Code (1)

  • build5nines.com: Terraform: Create an AKS Cluster 🌟 [COMMUNITY-TOOL] — Step-by-step walkthrough explaining the provisioning of fully functioning AKS clusters using Terraform HCL. Provides modular templates containing standard configurations for nodes, subnets, and identity profiles. Excellent for starting GitOps infrastructure-as-code patterns.

Platform Engineering

AI Integration

Agentic Engineering

  • Terraform & OpenTofu Skill for AI Agents 1881 [ADVANCED LEVEL] [EMERGING] [ENTERPRISE-STABLE] — An experimental, open-source repository establishing unified Model Context Protocol (MCP) skills or AI tools for Terraform and OpenTofu. Empowers AI agents to dynamically generate, parse, validate, and execute infrastructure-as-code definitions with semantic awareness.

CI-CD Pipelines

Infrastructure as Code (2)

Azure DevOps
  • Azure DevOps Terraform Pipeline (Complete Guide + YAML Examples) [ADVANCED LEVEL] [ENTERPRISE-STABLE] — A production-grade, step-by-step tutorial on building a fully secure and automated Terraform deployment pipeline within Azure DevOps. Provides robust, reusable YAML template definitions, including state locking configurations, plan validations, and multi-environment promotions.
  • Automate Terraform Testing with Azure DevOps Pipelines [ADVANCED LEVEL] [ENTERPRISE-STABLE] — Provides a complete implementation walkthrough for embedding robust automated test suites (including tftest and checkov) inside Azure DevOps pipelines. Demonstrates how to validate infrastructure compliance and dry-run infrastructure updates early in the pipeline.

FinOps

Infrastructure as Code (3)

  • (2024) InfraCost + Terraform PRs: Making Cost Awareness Effortless 🌟🌟🌟🌟 [ENTERPRISE-STABLE] — Highlights how integrating Infracost into Terraform pull request workflows drives continuous cost awareness and optimization directly at the developer level. Prevents budget shocks by showing real-time, side-by-side cost differentials before code is merged.

Security

Secrets Management

GitOps Secrets

  • (2026) ==sops: Simple and flexible tool for managing secrets 🌟== 21861 [EN CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — SOPS is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats, encrypting with AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault, age, and PGP. Widely integrated in GitOps workflows, it allows versioning encrypted configuration files without exposing secret data.

💡 Explore Related: Kubernetes Security | Devsecops | Kustomize