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


Join the 80/20 DevOps Newsletter

If you're an engineering leader or developer, you should subscribe to my 80/20 DevOps Newsletter. Give me 1 minute of your day, and I'll teach you essential DevOps skills. I cover topics like Kubernetes, AWS, Infrastructure as Code, and more.

Not sure yet? Check out the archive.

Unsubscribe at any time.