diff --git a/terraform-iac/dev/app/.terraform.lock.hcl b/terraform-iac/dev/app/.terraform.lock.hcl index a8cf5a26..516e7dbb 100644 --- a/terraform-iac/dev/app/.terraform.lock.hcl +++ b/terraform-iac/dev/app/.terraform.lock.hcl @@ -6,6 +6,7 @@ provider "registry.terraform.io/hashicorp/aws" { constraints = ">= 3.69.0, >= 4.0.0, >= 4.2.0, ~> 4.65" hashes = [ "h1:ZEdurVGkjkOZzhJijFTF+3djXZ9N4Js8Ss6tM43n3HA=", + "h1:npDM2DHnGDKlXJJGWdBpTVywKHa9clSgXzvin5phSM4=", "zh:0461b8dfc14e94971bfd12783cbd5a5574b9fcfc3694b6afaa8836f90b61c1f9", "zh:24a27e7b1f6eb33e9da6f2ffaaa6bc48e933a24224c6572d6e588994e5c7130b", "zh:2ca189d04573414bef4876c17ccb2b76f6e721e0450f6ab3700d94d7c04bec64", @@ -29,6 +30,7 @@ provider "registry.terraform.io/hashicorp/local" { constraints = "~> 2.4" hashes = [ "h1:Bs7LAkV/iQTLv72j+cTMrvx2U3KyXrcVHaGbdns1NcE=", + "h1:ZUEYUmm2t4vxwzxy1BvN1wL6SDWrDxfH7pxtzX8c6d0=", "zh:53604cd29cb92538668fe09565c739358dc53ca56f9f11312b9d7de81e48fab9", "zh:66a46e9c508716a1c98efbf793092f03d50049fa4a83cd6b2251e9a06aca2acf", "zh:70a6f6a852dd83768d0778ce9817d81d4b3f073fab8fa570bff92dcb0824f732", diff --git a/terraform-iac/modules/app/main.tf b/terraform-iac/modules/app/main.tf index 81e48a2a..aa416e54 100644 --- a/terraform-iac/modules/app/main.tf +++ b/terraform-iac/modules/app/main.tf @@ -32,7 +32,8 @@ data "aws_ecr_repository" "my_ecr_repo" { } module "acs" { - source = "github.com/byu-oit/terraform-aws-acs-info?ref=v4.0.0" + source = "github.com/byu-oit/terraform-aws-acs-info?ref=v4.0.0" + vpc_vpn_to_campus = true } module "my_fargate_api" { @@ -47,7 +48,8 @@ module "my_fargate_api" { ] hosted_zone = module.acs.route53_zone https_certificate_arn = module.acs.certificate.arn - public_subnet_ids = module.acs.public_subnet_ids + alb_internal_flag = true + public_subnet_ids = module.acs.private_subnet_ids private_subnet_ids = module.acs.private_subnet_ids vpc_id = module.acs.vpc.id codedeploy_service_role_arn = module.acs.power_builder_role.arn