diff --git a/main.tf b/main.tf index bfa90f2..84e5328 100644 --- a/main.tf +++ b/main.tf @@ -4,12 +4,12 @@ locals { } module "ubuntu-bionic-ami" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.9" release = "18.04" } module "ubuntu-focal-ami" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.9" release = "20.04" } @@ -26,7 +26,7 @@ data "aws_availability_zones" "available" { } module "public_subnets" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.9" namespace = var.tenant name = var.tenant subnet_names = local.all_pub_subnets @@ -40,7 +40,7 @@ module "public_subnets" { } module "private_subnets" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.9" namespace = var.tenant name = var.tenant subnet_names = local.all_priv_subnets @@ -54,7 +54,7 @@ module "private_subnets" { } module "gitlab" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/gitlab?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/gitlab?ref=v1.0.9" ami = var.use_latest_ami ? module.ubuntu-focal-ami.id : var.gitlab_ami_list[var.region] instance_type = "t2.large" gitlab_runner_size = "c5.2xlarge" @@ -70,7 +70,7 @@ module "gitlab" { } module "nexus" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/nexus?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/nexus?ref=v1.0.9" ami = var.use_latest_ami ? module.ubuntu-focal-ami.id : var.nexus_ami_list[var.region] instance_type = var.nexus_instance_type domain = var.domain diff --git a/wireguard.tf b/wireguard.tf index 7d9995c..9aa593e 100644 --- a/wireguard.tf +++ b/wireguard.tf @@ -60,7 +60,7 @@ resource "random_password" "wireguard_password" { } module "wireguard" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg?ref=v1.0.9" ami_id = var.use_latest_ami ? module.ubuntu-focal-ami.id : var.vpn_ami_list[var.region] instance_type = var.vpn_instance_type @@ -73,7 +73,7 @@ module "wireguard" { } /* module "wireguard_users" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg_user?ref=v1.0.8" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg_user?ref=v1.0.9" dns_server = "10.25.0.2" wireguard_address = module.wireguard.public_ip