Update variables.tf, main.tf, terraform.tfvars

This commit is contained in:
2022-09-25 00:06:36 +00:00
parent b8bad9cda7
commit 6f7ef4ce3a
3 changed files with 9 additions and 9 deletions

View File

@@ -2,8 +2,12 @@ terraform {
backend "http" {} backend "http" {}
required_providers { required_providers {
linode = { linode = {
source = "linode/linode" source = "linode/linode"
version = "1.27.1" version = "1.27.1"
},
kubectl = {
source = "gavinbunney/kubectl"
version = ">= 1.7.0"
} }
} }
} }

View File

@@ -1,4 +1,4 @@
label = "example-lke-cluster" label = "main-cluster"
k8s_version = "1.23" k8s_version = "1.23"
region = "us-central" region = "us-central"
pools = [ pools = [

View File

@@ -14,7 +14,7 @@ variable "label" {
variable "region" { variable "region" {
description = "The region where your cluster will be located. (required)" description = "The region where your cluster will be located. (required)"
default = "us-east" default = "us-central"
} }
variable "tags" { variable "tags" {
@@ -31,11 +31,7 @@ variable "pools" {
})) }))
default = [ default = [
{ {
type = "g6-standard-4" type = "g6-standard-1"
count = 3
},
{
type = "g6-standard-8"
count = 3 count = 3
} }
] ]