Skip to content

Commit

Permalink
Upgrade Terraform to 1.18 (#1988)
Browse files Browse the repository at this point in the history
Upgrade the Terraform scripts for all Kubernetes clusters to 1.18

Work on #1971

Co-authored-by: Robert Bailey <robertbailey@google.com>
  • Loading branch information
markmandel and roberthbailey authored Feb 9, 2021
1 parent 6ed4437 commit e5f9fa9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/terraform/prow/module.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "google_container_cluster" "prow-build-cluster" {
project = var.project
location = "us-west1-c"
description = "Prow cluster to run tests for Agones"
min_master_version = "1.17"
min_master_version = "1.18"
initial_node_count = 8
node_config {
machine_type = "n1-standard-4"
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/aks/aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "azurerm_kubernetes_cluster" "agones" {
resource_group_name = azurerm_resource_group.agones_rg.name
dns_prefix = "agones"

kubernetes_version = "1.17.13"
kubernetes_version = "1.18.14"

default_node_pool {
name = "default"
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/eks/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module "eks" {
cluster_name = var.cluster_name
subnets = module.vpc.public_subnets
vpc_id = module.vpc.vpc_id
cluster_version = "1.17"
cluster_version = "1.18"

worker_groups_launch_template = [
{
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/gke/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {
initialNodeCount = lookup(var.cluster, "initialNodeCount", "4")
network = lookup(var.cluster, "network", "default")
subnetwork = lookup(var.cluster, "subnetwork", "")
kubernetesVersion = lookup(var.cluster, "kubernetesVersion", "1.17")
kubernetesVersion = lookup(var.cluster, "kubernetesVersion", "1.18")
}

# echo command used for debugging purpose
Expand Down
2 changes: 1 addition & 1 deletion install/terraform/modules/gke/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "cluster" {
"project" = "agones"
"network" = "default"
"subnetwork" = ""
"kubernetesVersion" = "1.17"
"kubernetesVersion" = "1.18"
}
}

Expand Down

0 comments on commit e5f9fa9

Please sign in to comment.