Skip to content

Commit

Permalink
Bump version of the Terraform module "eks" to 19.4.2 (#312)
Browse files Browse the repository at this point in the history
* chore: Updated the content of the file "/tmp/updatecli/github/jenkins...

... -infra/aws/eks-cluster.tf"
Updated the content of the file "/tmp/updatecli/github/jenkins-infra/aws/eks-public-cluster.tf"

Made with ❤️️ by updatecli

* chore: bump shared tools to latest version

Signed-off-by: Damien Duportal <[email protected]>

* chore: comment out EKS module global tags because of terraform-aws-modules/terraform-aws-eks#2337

Signed-off-by: Damien Duportal <[email protected]>

Signed-off-by: Damien Duportal <[email protected]>
Co-authored-by: Jenkins Infra Bot (updatecli) <[email protected]>
Co-authored-by: Damien Duportal <[email protected]>
  • Loading branch information
3 people authored Dec 23, 2022
1 parent 27d4f74 commit 916f33e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .shared-tools
18 changes: 10 additions & 8 deletions eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_kms_key" "eks" {
# EKS Cluster definition
module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "19.4.0"
version = "19.4.2"
cluster_name = local.cluster_name
# Kubernetes version in format '<MINOR>.<MINOR>', as per https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
cluster_version = "1.23"
Expand All @@ -27,15 +27,17 @@ module "eks" {
provider_key_arn = aws_kms_key.eks.arn
resources = ["secrets"]
}

cluster_endpoint_public_access = true

tags = {
Environment = "jenkins-infra-${terraform.workspace}"
GithubRepo = "aws"
GithubOrg = "jenkins-infra"
associated_service = "eks/${local.cluster_name}"
}
## TODO: Uncomment when https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2337 is resolved
# create_cluster_primary_security_group_tags = false
# tags = {
# Environment = "jenkins-infra-${terraform.workspace}"
# GithubRepo = "aws"
# GithubOrg = "jenkins-infra"
# associated_service = "eks/${local.cluster_name}"
# }

# VPC is defined in vpc.tf
vpc_id = module.vpc.vpc_id
Expand Down
16 changes: 9 additions & 7 deletions eks-public-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_kms_key" "eks-public" {
# EKS Cluster definition
module "eks-public" {
source = "terraform-aws-modules/eks/aws"
version = "19.4.0"
version = "19.4.2"
cluster_name = local.public_cluster_name
# Kubernetes version in format '<MINOR>.<MINOR>', as per https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
cluster_version = "1.23"
Expand All @@ -34,12 +34,14 @@ module "eks-public" {
resources = ["secrets"]
}

tags = {
Environment = "jenkins-infra-${terraform.workspace}"
GithubRepo = "aws"
GithubOrg = "jenkins-infra"
associated_service = "eks/${local.public_cluster_name}"
}
## TODO: Uncomment when https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2337 is resolved
# create_cluster_primary_security_group_tags = false
# tags = {
# Environment = "jenkins-infra-${terraform.workspace}"
# GithubRepo = "aws"
# GithubOrg = "jenkins-infra"
# associated_service = "eks/${local.public_cluster_name}"
# }

# VPC is defined in vpc.tf
vpc_id = module.vpc.vpc_id
Expand Down

0 comments on commit 916f33e

Please sign in to comment.