diff --git a/main.tf b/main.tf index 7a6d628..4d6d5c2 100644 --- a/main.tf +++ b/main.tf @@ -7,7 +7,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data) exec { - api_version = "client.authentication.k8s.io/v1beta1" + api_version = "client.authentication.k8s.io/v1beta" command = "aws" # This requires the awscli to be installed locally where Terraform is executed args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name] @@ -126,7 +126,7 @@ module "eks" { instance_refresh = { strategy = "Rolling" preferences = { - min_healthy_percentage = 66 + min_healthy_percentage = 80 } } }