add initial_size to google_compute_node_group (#4750) (#413)

Co-authored-by: Riley Karson <rileykarson@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Riley Karson <rileykarson@google.com>
This commit is contained in:
The Magician 2021-05-04 19:48:50 -07:00 committed by GitHub
parent 840a4db65e
commit 4b4ab108c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -469,7 +469,7 @@ def response_to_hash(module, response):
u'description': response.get(u'description'), u'description': response.get(u'description'),
u'name': response.get(u'name'), u'name': response.get(u'name'),
u'nodeTemplate': response.get(u'nodeTemplate'), u'nodeTemplate': response.get(u'nodeTemplate'),
u'size': response.get(u'size'), u'size': module.params.get('size'),
u'maintenancePolicy': response.get(u'maintenancePolicy'), u'maintenancePolicy': response.get(u'maintenancePolicy'),
u'maintenanceWindow': NodeGroupMaintenancewindow(response.get(u'maintenanceWindow', {}), module).from_response(), u'maintenanceWindow': NodeGroupMaintenancewindow(response.get(u'maintenanceWindow', {}), module).from_response(),
u'autoscalingPolicy': NodeGroupAutoscalingpolicy(response.get(u'autoscalingPolicy', {}), module).from_response(), u'autoscalingPolicy': NodeGroupAutoscalingpolicy(response.get(u'autoscalingPolicy', {}), module).from_response(),