Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Terraform
  3. terraform-provider-kubernetes

terraform-provider-kubernetes

MPL-2.0Gov3.2.1

Terraform provider for managing Kubernetes resources through infrastructure-as-code.

Visit WebsiteGitHubGitHub
1.7k stars1.1k forks0 contributors

What is terraform-provider-kubernetes?

The Kubernetes Provider for Terraform is an official plugin that enables management of Kubernetes resources through Terraform's infrastructure-as-code approach. It allows users to define pods, services, deployments, and other Kubernetes objects as Terraform configuration files, which can then be provisioned and managed using Terraform's workflow. This brings consistency, version control, and automation to Kubernetes infrastructure management.

Target Audience

DevOps engineers, platform teams, and infrastructure developers who manage Kubernetes clusters and want to apply infrastructure-as-code principles to their container orchestration layer.

Value Proposition

As an official HashiCorp-maintained provider, it offers reliable integration with Terraform's ecosystem, comprehensive resource coverage, and strong community support. It enables teams to manage Kubernetes resources alongside other infrastructure components in a unified Terraform workflow.

Overview

Terraform Kubernetes provider

Use Cases

Best For

  • Managing Kubernetes resources declaratively alongside cloud infrastructure
  • Version controlling Kubernetes configurations in Git
  • Automating Kubernetes resource provisioning in CI/CD pipelines
  • Managing complex dependencies between Kubernetes resources
  • Applying consistent configuration across multiple Kubernetes clusters
  • Integrating Kubernetes management with existing Terraform workflows

Not Ideal For

  • Applications requiring frequent, rapid changes to Kubernetes resources without the overhead of Terraform state management
  • Teams already heavily invested in Helm or Kustomize workflows without a need for Terraform integration
  • Projects where Kubernetes resources are ephemeral or managed in a highly dynamic, event-driven environment

Pros & Cons

Pros

Official HashiCorp Support

Maintained internally by HashiCorp, ensuring regular updates and reliability, as stated in the README.

Comprehensive Documentation

Extensive guides, examples, and interactive tutorials are provided, with clear links to getting started and usage docs in the README.

Full Lifecycle Control

Enables create, update, and destroy of Kubernetes resources through Terraform's plan/apply workflow, allowing declarative management as per the description.

State and Dependency Management

Uses Terraform's state file to track resource state and dependencies, ensuring consistent and reliable operations, highlighted in the key features.

Cons

Breaking Version Upgrades

Major updates like v2 require migration efforts, as indicated by the v2-upgrade-guide in the README, which can be time-consuming and disruptive.

State File Overhead

Managing and securing Terraform state files for Kubernetes adds operational complexity and potential security risks, especially in collaborative environments.

Steep Learning Curve

Requires proficiency in both Terraform and Kubernetes, which might be challenging for teams new to infrastructure-as-code tools, despite the documentation.

Frequently Asked Questions

Quick Stats

Stars1,720
Forks1,063
Contributors0
Open Issues122
Last commit6 days ago
CreatedSince 2017

Tags

#devops#container-orchestration#kubernetes#terraform-provider#terraform#infrastructure-as-code#iac#hashicorp#declarative-configuration

Built With

T
Terraform
G
Go

Links & Resources

Website

Included in

Terraform6.3k
Auto-fetched 9 hours ago

Related Projects

terraform-provider-awsterraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.

Stars11,075
Forks10,352
Last commit17 hours ago
terraform-provider-azurermterraform-provider-azurerm

Terraform provider for Azure Resource Manager

Stars4,971
Forks5,048
Last commit1 day ago
terraform-provider-googleterraform-provider-google

Terraform Provider for Google Cloud Platform

Stars2,643
Forks1,913
Last commit12 hours ago
terraform-provider-helmterraform-provider-helm

Terraform Helm provider

Stars1,076
Forks440
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub