Skip to content

Commit

Permalink
fix: update load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
JianLi-Expedia committed Dec 9, 2024
1 parent ea48130 commit 2841305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ data "aws_lb" "waggledance_lb" {

resource "aws_vpc_endpoint_service" "waggledance" {
count = var.enable_vpc_endpoint_services ? 1 : 0
network_load_balancer_arns = compact(concat(aws_lb.waggledance[0].*.arn, data.aws_lb.waggledance_lb[0].*.arn))
network_load_balancer_arns = var.wd_instance_type == "ecs" ? aws_lb.waggledance[0].*.arn : data.aws_lb.waggledance_lb[0].*.arn)
acceptance_required = false
allowed_principals = formatlist("arn:aws:iam::%s:root", var.waggledance_customer_accounts)
tags = merge(tomap({"Name"="${local.instance_alias}"}), var.tags)
Expand Down

0 comments on commit 2841305

Please sign in to comment.