Skip to content

Commit

Permalink
[examples] dont enforce inbound SG rules on privatelink traffic in NLBs
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4ck404 committed Apr 2, 2024
1 parent 2b556fe commit c8d1467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/configure-existing-ofas-with-private-link/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ resource "aws_lb" "this" {
enable_deletion_protection = false
enable_cross_zone_load_balancing = true

enforce_security_group_inbound_rules_on_private_link_traffic = "off"

}

resource "aws_vpc_endpoint_service" "this" {
Expand Down
1 change: 1 addition & 0 deletions examples/from-scratch-with-private-link/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ resource "aws_lb" "this" {
enable_deletion_protection = false
enable_cross_zone_load_balancing = true

enforce_security_group_inbound_rules_on_private_link_traffic = "off"
}

resource "aws_vpc_endpoint_service" "this" {
Expand Down

0 comments on commit c8d1467

Please sign in to comment.