From 627e8c828a749745adeb84d8ced67fcc117e93fb Mon Sep 17 00:00:00 2001 From: Daniel Piddock Date: Thu, 12 Mar 2020 17:07:22 +0100 Subject: [PATCH] Improvement: Require k8s provider >=1.11.1 --- README.md | 2 +- examples/basic/main.tf | 2 +- examples/irsa/main.tf | 2 +- examples/launch_templates/main.tf | 2 +- examples/managed_node_groups/main.tf | 2 +- examples/secrets_encryption/main.tf | 2 +- examples/spot_instances/main.tf | 2 +- versions.tf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3bac8faaeb..caefe54fc4 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a | Name | Version | |------|---------| | aws | >= 2.52.0 | -| kubernetes | >= 1.6.2 | +| kubernetes | >= 1.11.1 | | local | >= 1.2 | | null | >= 2.1 | | random | >= 2.1 | diff --git a/examples/basic/main.tf b/examples/basic/main.tf index ee1d9bc251..4ce49b95b9 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -36,7 +36,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" { diff --git a/examples/irsa/main.tf b/examples/irsa/main.tf index 0fd934d44f..849db9c28f 100644 --- a/examples/irsa/main.tf +++ b/examples/irsa/main.tf @@ -32,7 +32,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" {} diff --git a/examples/launch_templates/main.tf b/examples/launch_templates/main.tf index a8d0ec62fe..d76a13c561 100644 --- a/examples/launch_templates/main.tf +++ b/examples/launch_templates/main.tf @@ -36,7 +36,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" { diff --git a/examples/managed_node_groups/main.tf b/examples/managed_node_groups/main.tf index adb5cfe70c..eed19c24ff 100644 --- a/examples/managed_node_groups/main.tf +++ b/examples/managed_node_groups/main.tf @@ -36,7 +36,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" { diff --git a/examples/secrets_encryption/main.tf b/examples/secrets_encryption/main.tf index 5c4b861be0..1a639e1d20 100644 --- a/examples/secrets_encryption/main.tf +++ b/examples/secrets_encryption/main.tf @@ -36,7 +36,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" { diff --git a/examples/spot_instances/main.tf b/examples/spot_instances/main.tf index cfac972f57..5d6b5eee5c 100644 --- a/examples/spot_instances/main.tf +++ b/examples/spot_instances/main.tf @@ -36,7 +36,7 @@ provider "kubernetes" { cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token load_config_file = false - version = "1.10" + version = "~> 1.11" } data "aws_availability_zones" "available" { diff --git a/versions.tf b/versions.tf index f73abd331e..fd052bbe15 100644 --- a/versions.tf +++ b/versions.tf @@ -7,6 +7,6 @@ terraform { null = ">= 2.1" template = ">= 2.1" random = ">= 2.1" - kubernetes = ">= 1.6.2" + kubernetes = ">= 1.11.1" } }