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

Upgrade helm charts and AWS modules #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions aws/eks/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ variable "legacy_iam_role_name" {

module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "3.11.3"
version = "5.14.0"

name = "${var.app}-${var.environment}"
cidr = var.vpc_cidr
Expand All @@ -49,7 +49,7 @@ module "vpc" {

module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "18.2.0"
version = "20.26.1"

cluster_name = "${var.app}-${var.environment}"
cluster_version = var.cluster_version
Expand Down
8 changes: 4 additions & 4 deletions aws/postgresql/postgresql.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 5.62"
}
random = {
source = "hashicorp/random"
Expand Down Expand Up @@ -69,7 +69,7 @@ resource "aws_security_group" "database" {

module "rds" {
source = "terraform-aws-modules/rds/aws"
version = "3.5.0"
version = "6.10.0"

identifier = "${var.app}-${var.environment}"

Expand All @@ -84,9 +84,9 @@ module "rds" {
backup_retention_period = 15
maintenance_window = "Mon:00:00-Mon:03:00"

name = "main"
db_name = "main"
username = "root"
create_random_password = true
manage_master_user_password = true
port = 5432

subnet_ids = [for subnet in aws_subnet.database: subnet.id]
Expand Down
10 changes: 7 additions & 3 deletions k8s/basic/dependencies/dependencies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,24 @@ resource "kubernetes_namespace" "cert-manager" {
resource "helm_release" "cert-manager" {
name = "cert-manager"
chart = "cert-manager"
version = "1.6.1"
version = "1.16.1"
repository = "https://charts.jetstack.io"
namespace = kubernetes_namespace.cert-manager.id

set {
name = "installCRDs"
name = "crds.enabled"
value = "true"
}
set {
name = "crds.keep"
value = "true"
}
}

resource "helm_release" "nginx-ingress" {
name = "nginx-ingress"
chart = "nginx-ingress"
version = "0.12.0"
version = "1.4.0"
repository = "https://helm.nginx.com/stable"
namespace = "kube-system"

Expand Down