This repository has been deprecated and archived on Apr 1th, 2022.
An actively maintained fork can be found at https://github.com/tehcyx/terraform-provider-kind.
The Terraform Provider for kind enables Terraform to provision local Kubernetes clusters on base of Kubernetes IN Docker (kind).
Copy the following code into a file with the extension .tf
to create a kind cluster with only default values.
provider "kind" {}
resource "kind_cluster" "default" {
name = "test-cluster"
}
Then run terraform init
, terraform plan
& terraform apply
and follow the on screen instructions. For more details on how to influence creation of the kind resource check out the Quick Start section above.