FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 4b54a44a authored by Wajdi Hajji's avatar Wajdi Hajji
Browse files

Merge branch 'v4' into 24-add-lb-config

parents c251b82a 9409efef
No related branches found
No related tags found
1 merge request!32Resolve "Adding LB config for load-balanced Cloud Run services"
Pipeline #103915 passed
......@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [4.0.1] - 2021-07-15
### Changed
- Support load balancer ingress style alongside Cloud Run domain mapping.
- Surface Cloud NAT variable for minimum number of SNAT tuples, supporting a larger
number of outbound connections if required.
## [4.0.0] - 2021-06-29
### Changed
......
......@@ -50,6 +50,7 @@ resource "google_compute_router_nat" "static-ip-nat" {
nat_ips = [google_compute_address.static-ip[0].self_link]
nat_ip_allocate_option = "MANUAL_ONLY"
region = var.cloud_run_region
min_ports_per_vm = var.min_ports_per_vm
source_subnetwork_ip_ranges_to_nat = "LIST_OF_SUBNETWORKS"
subnetwork {
......
......@@ -274,6 +274,16 @@ variable "static_egress_ip_cidr_range" {
description = "The cidr range used to create a subnet that this cloud run will use if assigned a static ip"
}
variable "min_ports_per_vm" {
default = 64
type = number
description = <<-EOL
When using Cloud NAT to provide an egress route, Cloud NAT's minimum ports per VM
can be configured to determine how many concurrent connections can be established
to the same destination IP address and port.
EOL
}
variable "secrets_volume" {
type = list(object({
name = string # name of the file that is going to be mounted
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment