Skip to content

Enable hub & spoke transitivity via gateway VMs #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Mar 5, 2021
Prev Previous commit
Next Next commit
lint fixes
  • Loading branch information
drebes committed Mar 4, 2021
commit 13d24a0f2948ef4347fa6ce6793a0d509d5f3f6a
2 changes: 1 addition & 1 deletion 3-networks/envs/shared/net-hubs-transitivity.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/**
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion 3-networks/modules/base_shared_vpc/firewall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ resource "google_compute_firewall" "allow_all_ingress" {
}

source_ranges = var.allow_all_ingress_ranges
}
}
2 changes: 1 addition & 1 deletion 3-networks/modules/base_shared_vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ variable "allow_all_egress_ranges" {
variable "allow_all_ingress_ranges" {
description = "List of network ranges from which all ingress traffic will be allowed"
default = null
}
}
2 changes: 1 addition & 1 deletion 3-networks/modules/restricted_shared_vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ variable "allow_all_egress_ranges" {
variable "allow_all_ingress_ranges" {
description = "List of network ranges from which all ingress traffic will be allowed"
default = null
}
}
2 changes: 1 addition & 1 deletion 3-networks/modules/transitivity/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
TODO
TODO
2 changes: 1 addition & 1 deletion 3-networks/modules/transitivity/assets/gw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ runcmd:
- sysctl -p
%{ for command in commands ~}
- '${command}'
%{ endfor ~}
%{ endfor ~}
4 changes: 2 additions & 2 deletions 3-networks/modules/transitivity/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/**
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -178,4 +178,4 @@ module "vpc_routes" {
next_hop = module.ilbs[each.key].forwarding_rule_self_link
}
}
}
}
2 changes: 1 addition & 1 deletion 3-networks/modules/transitivity/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ variable "commands" {
description = "Commands for the transitivity gateway to run on every boot."
type = list(string)
default = []
}
}