diff --git a/main.tf b/main.tf index fc76b74..e85c0a1 100755 --- a/main.tf +++ b/main.tf @@ -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 @@ -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 : {} : {} diff --git a/versions.tf b/versions.tf index 1583181..f204992 100644 --- a/versions.tf +++ b/versions.tf @@ -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" } } }