Update terraform.tf, .gitlab-ci.yml

This commit is contained in:
2022-09-25 02:06:14 +00:00
parent 41f1f40540
commit 0204170252
2 changed files with 1 additions and 1 deletions

View File

@@ -20,7 +20,6 @@ plan production:
apply: apply:
extends: .apply extends: .apply
variables: variables:
KUBECONFIG: "$CI_PROJECT_DIR/config"
before_script: before_script:
- echo "token = \"$token\"" >> terraform.tfvars - echo "token = \"$token\"" >> terraform.tfvars

View File

@@ -34,6 +34,7 @@ resource "linode_lke_cluster" "foobar" {
} }
provider "kubectl" { provider "kubectl" {
config_path = "$CI_PROJECT_DIR/config"
load_config_file = true load_config_file = true
} }