diff --git a/config/main.tf b/config/main.tf index 996c751..fbd994d 100644 --- a/config/main.tf +++ b/config/main.tf @@ -1,14 +1,13 @@ resource "kind_cluster" "default" { - name = "kubelearn-cluster" + name = "kubelearn-cluster" wait_for_ready = true - node_image = "kindest/node:v1.27.1" + node_image = "kindest/node:v1.27.1" kind_config { kind = "Cluster" api_version = "kind.x-k8s.io/v1alpha4" node { role = "control-plane" - } node { @@ -20,3 +19,5 @@ resource "kind_cluster" "default" { } } } + + diff --git a/config/providers.tf b/config/providers.tf index 5874d60..0a63b9e 100644 --- a/config/providers.tf +++ b/config/providers.tf @@ -5,4 +5,6 @@ terraform { version = "0.2.1" } } -} \ No newline at end of file +} + +provider "kind" {}