|
@@ -353,7 +353,7 @@ def run_command(ecs_client, instance_ids, command):
|
|
|
request.set_CommandContent(command)
|
|
|
request.set_InstanceIds(instance_id_list)
|
|
|
response = send_request(ecs_client=ecs_client, request=request)
|
|
|
- logging.info(response)
|
|
|
+ logging.info(f"run_command count:{len(instance_id_list)} instance_id_list:{instance_id_list} response:{response}")
|
|
|
|
|
|
|
|
|
def send_file_to_ecs(ecs_client, instance_id_list, target_dir, name, content):
|