Skip to content

Commit

Permalink
Fix missing firewall rules
Browse files Browse the repository at this point in the history
  • Loading branch information
albertogeniola committed Oct 6, 2022
1 parent 6fffd77 commit d349e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/1. Web proxy/networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ resource "google_compute_firewall" "proxy_internal_vms" {
name = "fw-inbound-proxy-internal"
network = google_compute_network.vyos_internal_vpc.self_link
source_ranges = [local.internal_subnet_cidr]
target_service_accounts = [module.vyos_instance.sa_email]
allow {
protocol = "tcp"
ports = [ 3128 ]
Expand Down
1 change: 1 addition & 0 deletions example/2. Web proxy HA Unmanaged/networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ resource "google_compute_firewall" "proxy_internal_vms" {
name = "fw-inbound-proxy-internal"
network = google_compute_network.vyos_internal_vpc.self_link
source_ranges = [local.internal_subnet_cidr]
target_service_accounts = [module.vyos_instance_1.sa_email, module.vyos_instance_2.sa_email]
allow {
protocol = "tcp"
ports = [ 3128 ]
Expand Down

0 comments on commit d349e0e

Please sign in to comment.