File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ 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.1
8+
9+ ### Fixed
10+ * updated the log_config logic to prevent changes on each run
11+
712## 2.2.0
813
914### Added
Original file line number Diff line number Diff line change @@ -124,12 +124,9 @@ resource "google_compute_router_nat" "nat_router" {
124124 min_ports_per_vm = var. cloud_nat_min_ports_per_vm
125125 source_subnetwork_ip_ranges_to_nat = " ALL_SUBNETWORKS_ALL_IP_RANGES"
126126
127- dynamic "log_config" {
128- for_each = var. cloud_nat_log_config_filter == null ? [] : list (true )
129- content {
130- enable = var. cloud_nat_log_config_filter == null ? false : true
131- filter = var. cloud_nat_log_config_filter
132- }
127+ log_config {
128+ enable = var. cloud_nat_log_config_filter == null ? false : true
129+ filter = var. cloud_nat_log_config_filter == null ? " ALL" : var. cloud_nat_log_config_filter
133130 }
134131}
135132
You can’t perform that action at this time.
0 commit comments