diff --git a/main.tf b/main.tf index 54c4902..8570c1e 100644 --- a/main.tf +++ b/main.tf @@ -2,8 +2,12 @@ terraform { backend "http" {} required_providers { linode = { - source = "linode/linode" - version = "1.27.1" + source = "linode/linode" + version = "1.27.1" + }, + kubectl = { + source = "gavinbunney/kubectl" + version = ">= 1.7.0" } } } diff --git a/terraform.tfvars b/terraform.tfvars index 03b722c..fc01d21 100644 --- a/terraform.tfvars +++ b/terraform.tfvars @@ -1,4 +1,4 @@ -label = "example-lke-cluster" +label = "main-cluster" k8s_version = "1.23" region = "us-central" pools = [ diff --git a/variables.tf b/variables.tf index b1fb160..5b4bcf8 100644 --- a/variables.tf +++ b/variables.tf @@ -14,7 +14,7 @@ variable "label" { variable "region" { description = "The region where your cluster will be located. (required)" - default = "us-east" + default = "us-central" } variable "tags" { @@ -31,11 +31,7 @@ variable "pools" { })) default = [ { - type = "g6-standard-4" - count = 3 - }, - { - type = "g6-standard-8" + type = "g6-standard-1" count = 3 } ]