File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7+ ## 2.2.2
8+
9+ ### Added
10+ * added variable for ` cloud_nat_tcp_transitory_idle_timeout_sec `
711## 2.2.1
812
913### Fixed
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ variable "cloud_nat_min_ports_per_vm" {
5252 default = 64
5353}
5454
55+ variable "cloud_nat_tcp_transitory_idle_timeout_sec" {
56+ # https://cloud.google.com/nat/docs/overview#specs-timeouts
57+ description = " Timeout in seconds for TCP transitory connections."
58+ type = number
59+ default = 30
60+ }
61+
5562variable "cloud_nat_log_config_filter" {
5663 description = " Specifies the desired filtering of logs on this NAT"
5764 default = null
@@ -123,6 +130,7 @@ resource "google_compute_router_nat" "nat_router" {
123130 nat_ips = local. nat_ips
124131 min_ports_per_vm = var. cloud_nat_min_ports_per_vm
125132 source_subnetwork_ip_ranges_to_nat = " ALL_SUBNETWORKS_ALL_IP_RANGES"
133+ tcp_transitory_idle_timeout_sec = var. cloud_nat_tcp_transitory_idle_timeout_sec
126134
127135 log_config {
128136 enable = var. cloud_nat_log_config_filter == null ? false : true
You can’t perform that action at this time.
0 commit comments