Upgrade Your Kubectl Terraform Provider

Many people, including me, use the gavinbunney terraform kubectl provider.

This repository hasn’t been updated for over two years. There are lots of opened issues with no responses.

You should switch to the maintained alekc provider instead.

There’s an easy upgrade path.

All you have to do is update your required_providers block to use alekc’s kubectl and run

terraform state replace-provider gavinbunney/kubectl alekc/kubectl

See: https://github.com/alekc/terraform-provider-kubectl?tab=readme-ov-file#changing-providers-for-existing-resources


Master GitHub Actions with a Senior Infrastructure Engineer

As a senior staff infrastructure engineer, I share exclusive, behind-the-scenes insights that you won't find anywhere else. Get the strategies and techniques I've used to save companies $500k in CI costs and transform teams with GitOps best practices—delivered straight to your inbox.

Not sure yet? Check out the archive.

Unsubscribe at any time.