Skip to content

Commit

Permalink
allow for provider and module minor version upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoucgitter committed Jan 9, 2024
1 parent bbdc7bf commit f819c21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module "vpc" {
# EKS Setup - https://github.com/terraform-aws-modules/terraform-aws-eks
module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "19.19.1"
version = "~> 19.0"
cluster_name = local.cluster_name
cluster_version = var.kubernetes_version
cluster_enabled_log_types = [] # disable cluster control plan logging
Expand Down Expand Up @@ -228,7 +228,7 @@ module "kubeconfig" {
# Database Setup - https://registry.terraform.io/modules/terraform-aws-modules/rds/aws/6.2.0
module "postgresql" {
source = "terraform-aws-modules/rds/aws"
version = "6.2.0"
version = "~> 6.0"

for_each = local.postgres_servers != null ? length(local.postgres_servers) != 0 ? local.postgres_servers : {} : {}

Expand Down
16 changes: 8 additions & 8 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.25.0"
version = "~> 5.0"
}
random = {
source = "hashicorp/random"
version = "3.5.1"
version = "~> 3.0"
}
local = {
source = "hashicorp/local"
version = "2.4.0"
version = "~> 2.0"
}
null = {
source = "hashicorp/null"
version = "3.2.1"
version = "~> 3.0"
}
external = {
source = "hashicorp/external"
version = "2.3.1"
version = "~> 2.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.23.0"
version = "~> 2.0"
}
tls = {
source = "hashicorp/tls"
version = "4.0.4"
version = "~> 4.0"
}
cloudinit = {
source = "hashicorp/cloudinit"
version = "2.3.2"
version = "~> 2.0"
}
}
}

0 comments on commit f819c21

Please sign in to comment.