Skip to content

Commit

Permalink
Improvement: Require kubernetes provider >=1.11.1 (#784)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The terraform-aws-eks module now require at least kubernetes `1.11.1`. This may cause terraform to fail to init if users have set version = "1.10" like we had in the examples.
  • Loading branch information
dpiddockcmp authored Mar 18, 2020
1 parent 89401f1 commit 0c1ed0e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion examples/irsa/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {}
Expand Down
2 changes: 1 addition & 1 deletion examples/launch_templates/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion examples/managed_node_groups/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion examples/secrets_encryption/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion examples/spot_instances/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ terraform {
null = ">= 2.1"
template = ">= 2.1"
random = ">= 2.1"
kubernetes = ">= 1.6.2"
kubernetes = ">= 1.11.1"
}
}

0 comments on commit 0c1ed0e

Please sign in to comment.