Update variables.tf, main.tf, terraform.tfvars
This commit is contained in:
8
main.tf
8
main.tf
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 = [
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user