Skip to content

Commit

Permalink
Adds load balancer ip variable to terraform modules (#2690)
Browse files Browse the repository at this point in the history
* Adds load balancer ip variable to terraform modules

Co-authored-by: Robert Bailey <[email protected]>
  • Loading branch information
austin-space and roberthbailey authored Aug 1, 2022
1 parent c41a8c1 commit 36e9723
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install/terraform/modules/helm3/helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@ resource "helm_release" "agones" {
value = var.gameserver_maxPort
}

set {
name = "agones.allocator.service.loadBalancerIP"
value = var.load_balancer_ip
}
}
6 changes: 5 additions & 1 deletion install/terraform/modules/helm3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,8 @@ variable "gameserver_maxPort" {
variable "gameserver_namespaces" {
default = ["default"]
type = list(string)
}
}

variable "load_balancer_ip" {
default = ""
}

0 comments on commit 36e9723

Please sign in to comment.