Add needed parameters during downscaling
@@ -168,6 +168,8 @@ class InfrastructureManagerClient
parameters['instance_ids'] = instance_ids
parameters['region'] = options['region']
parameters['IS_VERBOSE'] = options['verbose']
+ parameters['zone'] = options['zone']
+ parameters['autoscale_agent'] = true
terminate_result = make_call(NO_TIMEOUT, RETRY_ON_FAIL,
"terminate_instances") {
