From 6f9471c4b4ad4c96d933c07ee49e240181a0ffb3 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 5 May 2021 02:48:39 +0000 Subject: [PATCH] add initial_size to google_compute_node_group (#4750) Co-authored-by: Riley Karson Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_node_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/gcp_compute_node_group.py b/plugins/modules/gcp_compute_node_group.py index 193e02e5e..473cbabbb 100644 --- a/plugins/modules/gcp_compute_node_group.py +++ b/plugins/modules/gcp_compute_node_group.py @@ -469,7 +469,7 @@ def response_to_hash(module, response): u'description': response.get(u'description'), u'name': response.get(u'name'), 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'maintenanceWindow': NodeGroupMaintenancewindow(response.get(u'maintenanceWindow', {}), module).from_response(), u'autoscalingPolicy': NodeGroupAutoscalingpolicy(response.get(u'autoscalingPolicy', {}), module).from_response(),