Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: honor upstream default for enableDynamicPortAllocation
Having a hardcoded default_value of `false` for the `enableDynamicPortAllocation` property is troublesome, and the upstream default should be used. This was added as part of GoogleCloudPlatform#6022. By hardcoding the default here, any client will explicitly deprogram the dynamic port allocation setting if it is not part of the client configuration. This is causing problems for those clients that have enabled the dynamic port allocation out of band, since the current support is incomplete (not all parameters can be set via Terraform: terraform-google-modules/terraform-google-cloud-nat#64 (comment)). While full support is being added, removing hardcoded defaults allow out-of-band configurations to continue working.
- Loading branch information