Skip to content

Commit 64e0624

Browse files
authored
wire create_internal_load_balancer (#830)
1 parent ee4459b commit 64e0624

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deployment/modules/gcp/tesseract/gce/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ module "gce" {
6464
}
6565

6666
module "ilb" {
67+
count = var.create_internal_load_balancer ? 1 : 0
6768
source = "../../loadbalancer/internal"
6869

6970
env = var.env

deployment/modules/gcp/tesseract/gce/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
output "tesseract_url" {
22
description = "The submission URL of the running TesseraCT server"
3-
value = module.ilb.tesseract_url
3+
value = var.create_internal_load_balancer ? module.ilb[0].tesseract_url : "No private URL configured."
44
}
55

66
output "tesseract_bucket_name" {

0 commit comments

Comments
 (0)