diff --git a/kubernetes/test-infra/eks/main.tf b/kubernetes/test-infra/eks/main.tf index 96eb9a6253..3058d02e40 100644 --- a/kubernetes/test-infra/eks/main.tf +++ b/kubernetes/test-infra/eks/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { kubernetes = { source = "hashicorp/kubernetes" - version = "9.9.9" + version = "1.13" } aws = { source = "hashicorp/aws" diff --git a/kubernetes/test-infra/eks/node-config/config.tf b/kubernetes/test-infra/eks/node-config/config.tf index 666376ef76..f26010f4a0 100644 --- a/kubernetes/test-infra/eks/node-config/config.tf +++ b/kubernetes/test-infra/eks/node-config/config.tf @@ -9,6 +9,7 @@ data "aws_eks_cluster" "cluster" { provider "kubernetes" { host = var.cluster_endpoint token = data.aws_eks_cluster_auth.cluster.token + load_config_file = false cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) exec { api_version = "client.authentication.k8s.io/v1alpha1" @@ -195,11 +196,11 @@ resource "kubernetes_deployment" "aws-lb-controller" { timeout_seconds = 10 } resources { - limits = { + limits { cpu = "200m" memory = "500Mi" } - requests = { + requests { cpu = "100m" memory = "200Mi" }