Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade terraform-google-kubernetes-engine module to 29.0.0 #34

Merged
merged 8 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
terraform_version: [1.2.x]
terraform_version: [1.3.x]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion cert_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
module "cert_manager_sa" {
count = var.enable_resource_creation && var.google_service_account == "" ? 1 : 0
source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity"
version = "20.0.0"
version = "30.1.0"

use_existing_k8s_sa = true
annotate_k8s_sa = false
Expand Down
102 changes: 51 additions & 51 deletions examples/root_example/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/root_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~>4.0"
version = "~>5.19"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.3"
version = "~> 5.19"
}
helm = {
source = "hashicorp/helm"
version = "2.2.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.11.0"
version = "~> 2.27.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion external_dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
module "external_dns_sa" {
count = var.enable_resource_creation && var.google_service_account == "" ? 1 : 0
source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity"
version = "20.0.0"
version = "30.1.0"

use_existing_k8s_sa = true
annotate_k8s_sa = false
Expand Down
2 changes: 1 addition & 1 deletion external_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
module "external_secrets_sa" {
count = var.enable_resource_creation && var.google_service_account == "" ? 1 : 0
source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity"
version = "20.0.0"
version = "30.1.0"

use_existing_k8s_sa = true
annotate_k8s_sa = false
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module "gke" {
count = var.enable_private_gke ? 0 : 1
source = "terraform-google-modules/kubernetes-engine/google"
name = var.cluster_name
version = "26.1.1"
version = "29.0.0"

add_cluster_firewall_rules = var.add_cluster_firewall_rules
add_master_webhook_firewall_rules = var.add_master_webhook_firewall_rules
Expand Down Expand Up @@ -155,7 +155,7 @@ module "gke_private" {
source = "terraform-google-modules/kubernetes-engine/google//modules/private-cluster"

name = var.cluster_name
version = "26.1.1"
version = "29.0.0"

add_cluster_firewall_rules = var.add_cluster_firewall_rules
add_master_webhook_firewall_rules = var.add_master_webhook_firewall_rules
Expand Down
6 changes: 3 additions & 3 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
# limitations under the License.

terraform {
required_version = ">=1.2.0"
required_version = ">=1.3.0"

required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
version = "~> 5.19"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.3"
version = "~> 5.19"
}
helm = {
source = "hashicorp/helm"
Expand Down
Loading