Skip to content

Commit

Permalink
Optionally create Load Balancer Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
clarissalimab committed Jul 17, 2024
1 parent 8e29883 commit 7b2eb60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions aws/platform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module "common_platform" {
}

module "aws_load_balancer_controller" {
count = var.create_load_balancer_controller ? 1 : 0
source = "./modules/load-balancer-controller"

aws_namespace = [module.cluster_name.full]
Expand Down
6 changes: 6 additions & 0 deletions aws/platform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ variable "cluster_name" {
description = "Name of the EKS cluster"
}

variable "create_load_balancer_controller" {
type = bool
description = "Set to false to disable creation of the Load Balancer Controller"
default = true
}

variable "custom_groups" {
type = map(list(string))
description = "List of custom RBAC groups to be assigned to an IAM role for custom cluster privileges,"
Expand Down

0 comments on commit 7b2eb60

Please sign in to comment.