Skip to content

Commit

Permalink
Introduce new optional variable to attach additinonal security groups…
Browse files Browse the repository at this point in the history
… to LBs
  • Loading branch information
simu committed Dec 16, 2024
1 parent 574c399 commit 7a99528
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "lb" {

cluster_security_group_ids = [
exoscale_security_group.all_machines.id
]
] + var.additional_lb_security_group_ids

additional_affinity_group_ids = var.additional_affinity_group_ids

Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,9 @@ variable "additional_lb_networks" {
description = "List of UUIDs of additional Exoscale private networks to attach"
default = []
}

variable "additional_lb_security_group_ids" {
type = list(string)
default = []
description = "List of additional security group IDs to configure on the LBs"
}

0 comments on commit 7a99528

Please sign in to comment.