Skip to content

Commit

Permalink
Fix breaking change in terraform-aws-modules/global-accelerator/aws
Browse files Browse the repository at this point in the history
Closes #1110

Signed-off-by: Michal Hajas <[email protected]>
  • Loading branch information
mhajas committed Jan 24, 2025
1 parent 6e50e2e commit 8e04476
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions provision/opentofu/modules/aws/accelerator/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,23 @@ module "global_accelerator" {

listeners = {
listener_1 = {
endpoint_group = {
endpoint_group_region = var.aws_region
traffic_dial_percentage = 100
endpoint_groups = {
group_1 = {
endpoint_group_region = var.aws_region
traffic_dial_percentage = 100

endpoint_configuration = [
{
client_ip_preservation_enabled = false
endpoint_id = data.aws_lb.site_a.arn
weight = 128
}, {
client_ip_preservation_enabled = false
endpoint_id = data.aws_lb.site_b.arn
weight = 128
}
]
endpoint_configuration = [
{
client_ip_preservation_enabled = false
endpoint_id = data.aws_lb.site_a.arn
weight = 128
}, {
client_ip_preservation_enabled = false
endpoint_id = data.aws_lb.site_b.arn
weight = 128
}
]
}
}
port_ranges = [
{
Expand Down

0 comments on commit 8e04476

Please sign in to comment.