From 4cae99f85f0489740ffd3b9d8b2049e57618debe Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 25 Sep 2022 11:59:05 +0000 Subject: [PATCH] Update terraform.tf, variables.tf, .gitignore --- .gitignore | 3 +++ terraform.tf | 2 +- variables.tf | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a1c7f6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.terraform +config +.terraform.lock.hcl diff --git a/terraform.tf b/terraform.tf index 3b26f1f..21625a4 100644 --- a/terraform.tf +++ b/terraform.tf @@ -34,7 +34,7 @@ resource "linode_lke_cluster" "foobar" { } provider "kubectl" { - config_path = var.config + config_path = "./config" load_config_file = true } diff --git a/variables.tf b/variables.tf index cf5d37d..5b4bcf8 100644 --- a/variables.tf +++ b/variables.tf @@ -2,10 +2,6 @@ variable "token" { description = "Your Linode API Personal Access Token. (required)" } -variable "config" { - description = "kube config from lke" -} - variable "k8s_version" { description = "The Kubernetes version to use for this cluster. (required)" default = "1.23"