Skip to content

Commit

Permalink
Bugfix: honor upstream default for enableDynamicPortAllocation (#6125) (
Browse files Browse the repository at this point in the history
#11887)

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Jun 15, 2022
1 parent d84f3bf commit 8520a6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/6125.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
compute: fix default handling for `enableDynamicPortAllocation` to be managed by the api
```
2 changes: 1 addition & 1 deletion google/resource_compute_router_nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ valid static external IPs that have been assigned to the NAT.`,
},
"enable_dynamic_port_allocation": {
Type: schema.TypeBool,
Computed: true,
Optional: true,
Description: `Enable Dynamic Port Allocation.
If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32.
If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config.
Mutually exclusive with enableEndpointIndependentMapping.`,
Default: false,
},
"enable_endpoint_independent_mapping": {
Type: schema.TypeBool,
Expand Down

0 comments on commit 8520a6e

Please sign in to comment.