diff --git a/main.tf b/main.tf index 461d6c0..a08a216 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.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.3" release = "18.04" } module "ubuntu-focal-ami" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/ami-ubuntu?ref=v1.0.3" 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.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.3" 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.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/named-subnets?ref=v1.0.3" 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.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/gitlab?ref=v1.0.3" 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.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/nexus?ref=v1.0.3" 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 ef6ddce..2919b97 100644 --- a/wireguard.tf +++ b/wireguard.tf @@ -55,7 +55,7 @@ resource "aws_security_group" "vpn_sg" { } module "wireguard" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg?ref=v1.0.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg?ref=v1.0.3" ami_id = var.use_latest_ami ? module.ubuntu-focal-ami.id : var.vpn_ami_list[var.region] instance_type = var.vpn_instance_type @@ -68,7 +68,7 @@ module "wireguard" { } module "wireguard_users" { - source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg_user?ref=v1.0.2" + source = "git::https://github.com/mojaloop/iac-shared-modules.git//aws/wg_user?ref=v1.0.3" dns_server = "10.25.0.2" wireguard_address = module.wireguard.public_ip